#998232#998232
#998232 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.2% C 0.102 H 93.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #998232 |
|---|---|
| RGB | rgb(153, 130, 50) |
| HSL | hsl(47, 51%, 40%) |
| HSV | hsv(47, 67%, 60%) |
| CMYK | cmyk(0%, 15%, 67.3%, 40%) |
| CIE-LAB | lab(55.04, -0.63, 45.10) |
| CIE-LCH | lch(55.04, 45.10, 90.80°) |
| OKLab | oklab(61.23% -0.0053 0.1022) |
| OKLCH | oklch(61.23% 0.102 93) |
| XYZ | xyz(21.6963, 22.9690, 6.3077) |
| Luminance | 0.2297 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.56
Baby Poop
#937C00
ΔE00 4.62
Hazel
#8E7618
ΔE00 4.86
Yellowish Brown
#9B7A01
ΔE00 5.11
Puke Brown
#947706
ΔE00 5.16
Dark Mustard
#A88905
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998232 #324999
analogous
#994F32 #998232 #7D9932
triadic
#998232 #329982 #823299
tetradic
#998232 #32994F #324999 #99327D
square
#998232 #32994F #324999 #99327D
split-complementary
#998232 #327D99 #4F3299
monochromatic
#3D3414 #6B5B23 #998232 #C2A746 #D2BD74
Accessibility & contrast
On white
3.75
#998232 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#998232 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998232
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998232 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998232 | 1.00 | 3.75 | 5.59 | 5.59 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908028
Deuteranopia (green-blind)
#958736
Tritanopia (blue-blind)
#A57871
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #998232; /* rgb */ color: rgb(153, 130, 50); /* oklch */ color: oklch(61.2% 0.102 93.0);
Tailwind
colors: {
custom: {
50: '#baa66e',
500: '#998232',
950: '#000000',
},
}SCSS
$custom: #998232; $custom-light: #baa66e; $custom-dark: #000000;
JSON
{
"hex": "#998232",
"rgb": {
"r": 153,
"g": 130,
"b": 50
},
"hsl": {
"h": 46.602,
"s": 50.739,
"l": 39.804
},
"oklch": {
"l": 0.61226,
"c": 0.10234,
"h": 93
},
"luminance": 0.22968
}Semantic roles & 50–950 ramp
primary
#998232
secondary
#6D7EBA
accent
#6DDA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A