#908F20#908F20
#908F20 is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.1% C 0.126 H 109.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #908F20 |
|---|---|
| RGB | rgb(144, 143, 32) |
| HSL | hsl(59, 64%, 35%) |
| HSV | hsv(59, 78%, 56%) |
| CMYK | cmyk(0%, 0.7%, 77.8%, 43.5%) |
| CIE-LAB | lab(57.73, -12.75, 54.63) |
| CIE-LCH | lch(57.73, 56.10, 103.14°) |
| OKLab | oklab(63.12% -0.0411 0.1194) |
| OKLCH | oklch(63.12% 0.126 109) |
| XYZ | xyz(21.5856, 25.6792, 5.1857) |
| Luminance | 0.2568 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.90
Pea Soup
#929901
ΔE00 4.06
Baby Shit Green
#889717
ΔE00 4.43
Olive
#808000
ΔE00 5.60
Swamp Green
#748500
ΔE00 6.73
Vomit
#A2A415
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908F20 #202190
analogous
#905720 #908F20 #599020
triadic
#908F20 #20908F #8F2090
tetradic
#908F20 #209057 #202190 #902059
square
#908F20 #209057 #202190 #902059
split-complementary
#908F20 #205990 #572090
monochromatic
#2C2C0A #5E5D15 #908F20 #C2C12B #D9D752
Accessibility & contrast
On white
3.42
#908F20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#908F20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908F20
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908F20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908F20 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8903
Deuteranopia (green-blind)
#9D8C29
Tritanopia (blue-blind)
#9B857A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #908f20; /* rgb */ color: rgb(144, 143, 32); /* oklch */ color: oklch(63.1% 0.126 109.0);
Tailwind
colors: {
custom: {
50: '#b4af65',
500: '#908f20',
950: '#000000',
},
}SCSS
$custom: #908f20; $custom-light: #b4af65; $custom-dark: #000000;
JSON
{
"hex": "#908f20",
"rgb": {
"r": 144,
"g": 143,
"b": 32
},
"hsl": {
"h": 59.464,
"s": 63.636,
"l": 34.51
},
"oklch": {
"l": 0.63124,
"c": 0.12625,
"h": 109
},
"luminance": 0.25678
}Semantic roles & 50–950 ramp
primary
#908F20
secondary
#5051BC
accent
#43E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A