#998F25#998F25
#998F25 is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.122 H 103.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #998F25 |
|---|---|
| RGB | rgb(153, 143, 37) |
| HSL | hsl(55, 61%, 37%) |
| HSV | hsv(55, 76%, 60%) |
| CMYK | cmyk(0%, 6.5%, 75.8%, 40%) |
| CIE-LAB | lab(58.56, -8.47, 53.96) |
| CIE-LCH | lch(58.56, 54.62, 98.92°) |
| OKLab | oklab(63.98% -0.0291 0.1186) |
| OKLCH | oklch(63.98% 0.122 103.8) |
| XYZ | xyz(23.2943, 26.5518, 5.6479) |
| Luminance | 0.2655 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.55
Baby Poop Green
#8F9805
ΔE00 5.72
Baby Poo
#AB9004
ΔE00 5.73
Baby Shit Brown
#AD900D
ΔE00 6.17
Diarrhea
#9F8303
ΔE00 6.45
Dark Mustard
#A88905
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F25 #252F99
analogous
#995525 #998F25 #699925
triadic
#998F25 #25998F #8F2599
tetradic
#998F25 #259955 #252F99 #992569
square
#998F25 #259955 #252F99 #992569
split-complementary
#998F25 #256999 #552599
monochromatic
#36330D #686119 #998F25 #CABD31 #D9CE60
Accessibility & contrast
On white
3.33
#998F25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#998F25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F25
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F25 | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A10
Deuteranopia (green-blind)
#A08F2D
Tritanopia (blue-blind)
#A5857B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998f25; /* rgb */ color: rgb(153, 143, 37); /* oklch */ color: oklch(64.0% 0.122 103.8);
Tailwind
colors: {
custom: {
50: '#bbaf68',
500: '#998f25',
950: '#000000',
},
}SCSS
$custom: #998f25; $custom-light: #bbaf68; $custom-dark: #000000;
JSON
{
"hex": "#998f25",
"rgb": {
"r": 153,
"g": 143,
"b": 37
},
"hsl": {
"h": 54.828,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.63984,
"c": 0.12208,
"h": 103.8
},
"luminance": 0.26551
}Semantic roles & 50–950 ramp
primary
#998F25
secondary
#5C65BE
accent
#51E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A