#988231#988231
#988231 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.103 H 93.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #988231 |
|---|---|
| RGB | rgb(152, 130, 49) |
| HSL | hsl(47, 51%, 39%) |
| HSV | hsv(47, 68%, 60%) |
| CMYK | cmyk(0%, 14.5%, 67.8%, 40.4%) |
| CIE-LAB | lab(54.93, -1.15, 45.41) |
| CIE-LCH | lch(54.93, 45.42, 91.45°) |
| OKLab | oklab(61.11% -0.0069 0.1027) |
| OKLCH | oklch(61.11% 0.103 93.8) |
| XYZ | xyz(21.4869, 22.8636, 6.1865) |
| Luminance | 0.2286 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.44
Diarrhea
#9F8303
ΔE00 4.53
Hazel
#8E7618
ΔE00 4.76
Puke Brown
#947706
ΔE00 5.14
Yellowish Brown
#9B7A01
ΔE00 5.18
Dark Mustard
#A88905
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988231 #314798
analogous
#984E31 #988231 #7B9831
triadic
#988231 #319882 #823198
tetradic
#988231 #31984E #314798 #98317B
square
#988231 #31984E #314798 #98317B
split-complementary
#988231 #317B98 #4E3198
monochromatic
#3B3313 #6A5A22 #988231 #C3A744 #D2BD72
Accessibility & contrast
On white
3.77
#988231 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#988231 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988231
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988231 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8027
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#A47871
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #988231; /* rgb */ color: rgb(152, 130, 49); /* oklch */ color: oklch(61.1% 0.103 93.8);
Tailwind
colors: {
custom: {
50: '#b9a66d',
500: '#988231',
950: '#000000',
},
}SCSS
$custom: #988231; $custom-light: #b9a66d; $custom-dark: #000000;
JSON
{
"hex": "#988231",
"rgb": {
"r": 152,
"g": 130,
"b": 49
},
"hsl": {
"h": 47.184,
"s": 51.244,
"l": 39.412
},
"oklch": {
"l": 0.61114,
"c": 0.10296,
"h": 93.8
},
"luminance": 0.22862
}Semantic roles & 50–950 ramp
primary
#988231
secondary
#6B7CB9
accent
#6BDB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A