#988422#988422
#988422 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.4% C 0.115 H 97.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #988422 |
|---|---|
| RGB | rgb(152, 132, 34) |
| HSL | hsl(50, 63%, 36%) |
| HSV | hsv(50, 78%, 60%) |
| CMYK | cmyk(0%, 13.2%, 77.6%, 40.4%) |
| CIE-LAB | lab(55.37, -3.04, 52.03) |
| CIE-LCH | lch(55.37, 52.12, 93.35°) |
| OKLab | oklab(61.43% -0.014 0.1139) |
| OKLCH | oklch(61.43% 0.115 97) |
| XYZ | xyz(21.4900, 23.2946, 4.8774) |
| Luminance | 0.2329 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.14
Baby Poop
#937C00
ΔE00 3.37
Dark Mustard
#A88905
ΔE00 4.70
Yellowish Brown
#9B7A01
ΔE00 5.08
Puke Brown
#947706
ΔE00 5.18
Hazel
#8E7618
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988422 #223698
analogous
#984922 #988422 #719822
triadic
#988422 #229884 #842298
tetradic
#988422 #229849 #223698 #982271
square
#988422 #229849 #223698 #982271
split-complementary
#988422 #227198 #492298
monochromatic
#342D0C #665917 #988422 #CAAF2D #DAC45A
Accessibility & contrast
On white
3.71
#988422 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#988422 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988422
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988422 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988422 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#A47971
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #988422; /* rgb */ color: rgb(152, 132, 34); /* oklch */ color: oklch(61.4% 0.115 97.0);
Tailwind
colors: {
custom: {
50: '#baa765',
500: '#988422',
950: '#000000',
},
}SCSS
$custom: #988422; $custom-light: #baa765; $custom-dark: #000000;
JSON
{
"hex": "#988422",
"rgb": {
"r": 152,
"g": 132,
"b": 34
},
"hsl": {
"h": 49.831,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.6143,
"c": 0.11475,
"h": 97
},
"luminance": 0.23293
}Semantic roles & 50–950 ramp
primary
#988422
secondary
#5769BE
accent
#5DE641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A