#978018
Closest named color: Bronze (#A87900). oklch(60.4% 0.117 95.4), rgb(151, 128, 24).
Aa
Black text reads best on this color (5.41:1).
About this color
#978018 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.117 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Bronze (#A87900), ΔE 0.031 away. Black text reads best on it, at 5.41:1.
| Hue family | Yellows |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.117) |
| Temperature | warm |
| Nearest name | Bronze (#A87900) |
| Black text | 5.41:1 |
| White text | 3.87:1 |
Values
| HEX | #978018 |
| RGB | rgb(151, 128, 24) |
| HSL | hsl(49, 73%, 34%) |
| OKLCH | oklch(60.4% 0.117 95.4) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #978018 | 3.87:1 | AA large text | Lc -71.6 | Content text, not long reading |
| Black text on #978018 | 5.41:1 | AA | Lc 38.0 | Non-text elements, placeholder text |
| #978018 text on white | 3.87:1 | AA large text | Lc 66.1 | Content text, not long reading |
| #978018 text on black | 5.41:1 | AA | Lc -35.6 | Non-text elements, placeholder text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.
-
Step 50
50
#F7F5F0
oklch(97% 0.007 88.6)
-
Step 100
100
#EDEADE
oklch(93.6% 0.016 95.2)
-
Step 200
200
#DFD9C2
oklch(88.4% 0.031 94.9)
-
Step 300
300
#CCC197
oklch(80.9% 0.058 95.1)
-
Step 400
400
#B2A05B
oklch(70.6% 0.092 95.2)
-
Step 500
500 (this color)
#978018
oklch(60.4% 0.117 95.4)
-
Step 600
600
#887200
oklch(55.6% 0.114 95.6)
-
Step 700
700
#725F00
oklch(49% 0.101 95.4)
-
Step 800
800
#5E4E00
oklch(42.8% 0.088 95.4)
-
Step 900
900
#4E4102
oklch(37.8% 0.076 95.9)
-
Step 950
950
#2E2606
oklch(27% 0.049 94.9)
#978018 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #8E7D00 | 0.020 |
| Deuteranopia (no green cones) | #948420 | 0.011 |
| Tritanopia (no blue cones) | #A4756D | 0.107 |
| Achromatopsia (no color) | #818181 | 0.117 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #978018
#978018
oklch(60.4% 0.117 95.4)
- #6E7AC7
#6E7AC7
oklch(60.4% 0.118 275.6)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #978018, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bronze #A87900 ΔE 0.031
- Hazel #8E7618 ΔE 0.032
- Mustard Brown #AC7E04 ΔE 0.034
- Dark Mustard #A88905 ΔE 0.039
- Olive #808000 ΔE 0.040
- Drab #828344 ΔE 0.041
- Golden Brown #B27A01 ΔE 0.046
- Yellowy Brown #AE8B0C ΔE 0.050
Use #978018 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.