#998704
Closest named color: Dark Mustard (#A88905). oklch(62.1% 0.128 99.8), rgb(153, 135, 4).
Aa
Black text reads best on this color (5.82:1).
About this color
#998704 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.128 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.026 away. Black text reads best on it, at 5.82:1.
| Hue family | Yellows |
| Lightness | medium-light (62%) |
| Chroma | moderately saturated (0.128) |
| Temperature | warm |
| Nearest name | Dark Mustard (#A88905) |
| Black text | 5.82:1 |
| White text | 3.60:1 |
Values
| HEX | #998704 |
| RGB | rgb(153, 135, 4) |
| HSL | hsl(53, 95%, 31%) |
| OKLCH | oklch(62.1% 0.128 99.8) |
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 #998704 | 3.60:1 | AA large text | Lc -69.0 | Content text, not long reading |
| Black text on #998704 | 5.82:1 | AA | Lc 40.6 | Non-text elements, placeholder text |
| #998704 text on white | 3.60:1 | AA large text | Lc 63.5 | Content text, not long reading |
| #998704 text on black | 5.82:1 | AA | Lc -38.2 | 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
#F7F6EF
oklch(97.2% 0.009 100)
-
Step 100
100
#ECEADD
oklch(93.5% 0.017 99.6)
-
Step 200
200
#DEDAC0
oklch(88.5% 0.035 99.9)
-
Step 300
300
#CAC294
oklch(80.9% 0.062 99.3)
-
Step 400
400
#AFA254
oklch(70.7% 0.101 100)
-
Step 500
500 (this color)
#998704
oklch(62.1% 0.128 99.8)
-
Step 600
600
#847400
oklch(55.7% 0.116 99.7)
-
Step 700
700
#6F6100
oklch(49.1% 0.102 99.4)
-
Step 800
800
#5B4F00
oklch(42.7% 0.088 99.2)
-
Step 900
900
#4C4200
oklch(37.8% 0.078 99.5)
-
Step 950
950
#2D2703
oklch(27.1% 0.053 99.7)
#998704 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) | #968300 | 0.012 |
| Deuteranopia (no green cones) | #9A8A16 | 0.009 |
| Tritanopia (no blue cones) | #A67C72 | 0.117 |
| Achromatopsia (no color) | #878787 | 0.128 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #998704
#998704
oklch(62.1% 0.128 99.8)
- #787CD2
#787CD2
oklch(62.1% 0.129 279.9)
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 #998704, closest first.
No curated palette has a color within ΔE 0.04 of #998704.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Mustard #A88905 ΔE 0.026
- Yellowy Brown #AE8B0C ΔE 0.037
- Mustard Brown #AC7E04 ΔE 0.038
- Bronze #A87900 ΔE 0.043
- Olive #808000 ΔE 0.046
- Pea Soup #929901 ΔE 0.050
- Golden Brown #B27A01 ΔE 0.052
- Dark Goldenrod #B8860B ΔE 0.052
Use #998704 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.