#98901F#98901F
#98901F is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.1% C 0.126 H 105.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #98901F |
|---|---|
| RGB | rgb(152, 144, 31) |
| HSL | hsl(56, 66%, 36%) |
| HSV | hsv(56, 80%, 60%) |
| CMYK | cmyk(0%, 5.3%, 79.6%, 40.4%) |
| CIE-LAB | lab(58.72, -9.71, 56.10) |
| CIE-LCH | lch(58.72, 56.94, 99.81°) |
| OKLab | oklab(64.08% -0.0331 0.122) |
| OKLCH | oklch(64.08% 0.126 105.2) |
| XYZ | xyz(23.1705, 26.7218, 5.2334) |
| Luminance | 0.2672 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.75
Baby Poop Green
#8F9805
ΔE00 4.94
Baby Poo
#AB9004
ΔE00 6.00
Baby Shit Green
#889717
ΔE00 6.13
Baby Shit Brown
#AD900D
ΔE00 6.51
Vomit
#A2A415
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98901F #1F2798
analogous
#98531F #98901F #63981F
triadic
#98901F #1F9890 #901F98
tetradic
#98901F #1F9853 #1F2798 #981F63
square
#98901F #1F9853 #1F2798 #981F63
split-complementary
#98901F #1F6398 #531F98
monochromatic
#32300A #656015 #98901F #CBC029 #DCD355
Accessibility & contrast
On white
3.31
#98901F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#98901F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98901F
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98901F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98901F | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#A08F28
Tritanopia (blue-blind)
#A4867B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #98901f; /* rgb */ color: rgb(152, 144, 31); /* oklch */ color: oklch(64.1% 0.126 105.2);
Tailwind
colors: {
custom: {
50: '#bab065',
500: '#98901f',
950: '#000000',
},
}SCSS
$custom: #98901f; $custom-light: #bab065; $custom-dark: #000000;
JSON
{
"hex": "#98901f",
"rgb": {
"r": 152,
"g": 144,
"b": 31
},
"hsl": {
"h": 56.033,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.64078,
"c": 0.1264,
"h": 105.2
},
"luminance": 0.26721
}Semantic roles & 50–950 ramp
primary
#98901F
secondary
#535AC0
accent
#4AE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A