#998229#998229
#998229 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.109 H 94.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #998229 |
|---|---|
| RGB | rgb(153, 130, 41) |
| HSL | hsl(48, 58%, 38%) |
| HSV | hsv(48, 73%, 60%) |
| CMYK | cmyk(0%, 15%, 73.2%, 40%) |
| CIE-LAB | lab(54.97, -1.15, 48.95) |
| CIE-LCH | lch(54.97, 48.96, 91.34°) |
| OKLab | oklab(61.15% -0.0079 0.1087) |
| OKLCH | oklch(61.15% 0.109 94.2) |
| XYZ | xyz(21.5209, 22.8989, 5.3838) |
| Luminance | 0.2290 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.44
Baby Poop
#937C00
ΔE00 3.56
Yellowish Brown
#9B7A01
ΔE00 4.41
Hazel
#8E7618
ΔE00 4.53
Puke Brown
#947706
ΔE00 4.54
Dark Mustard
#A88905
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998229 #294099
analogous
#994A29 #998229 #789929
triadic
#998229 #299982 #822999
tetradic
#998229 #29994A #294099 #992978
square
#998229 #29994A #294099 #992978
split-complementary
#998229 #297899 #4A2999
monochromatic
#38300F #69591C #998229 #C9AB36 #D6BF66
Accessibility & contrast
On white
3.76
#998229 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#998229 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998229
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998229 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90801C
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#A67770
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #998229; /* rgb */ color: rgb(153, 130, 41); /* oklch */ color: oklch(61.1% 0.109 94.2);
Tailwind
colors: {
custom: {
50: '#bba669',
500: '#998229',
950: '#000000',
},
}SCSS
$custom: #998229; $custom-light: #bba669; $custom-dark: #000000;
JSON
{
"hex": "#998229",
"rgb": {
"r": 153,
"g": 130,
"b": 41
},
"hsl": {
"h": 47.679,
"s": 57.732,
"l": 38.039
},
"oklch": {
"l": 0.61146,
"c": 0.10902,
"h": 94.2
},
"luminance": 0.22898
}Semantic roles & 50–950 ramp
primary
#998229
secondary
#6274BC
accent
#66E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A