#907F20#907F20
#907F20 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.5% C 0.112 H 98.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #907F20 |
|---|---|
| RGB | rgb(144, 127, 32) |
| HSL | hsl(51, 64%, 35%) |
| HSV | hsv(51, 78%, 56%) |
| CMYK | cmyk(0%, 11.8%, 77.8%, 43.5%) |
| CIE-LAB | lab(53.18, -4.05, 50.43) |
| CIE-LCH | lch(53.18, 50.59, 94.59°) |
| OKLab | oklab(59.5% -0.0166 0.1104) |
| OKLCH | oklch(59.5% 0.112 98.6) |
| XYZ | xyz(19.3527, 21.2133, 4.4414) |
| Luminance | 0.2121 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.84
Hazel
#8E7618
ΔE00 3.75
Puke Brown
#947706
ΔE00 4.56
Diarrhea
#9F8303
ΔE00 4.65
Yellowish Brown
#9B7A01
ΔE00 5.32
Poo
#8F7303
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#907F20 #203190
analogous
#904720 #907F20 #699020
triadic
#907F20 #20907F #7F2090
tetradic
#907F20 #209047 #203190 #902069
square
#907F20 #209047 #203190 #902069
split-complementary
#907F20 #206990 #472090
monochromatic
#2C270A #5E5315 #907F20 #C2AB2B #D9C452
Accessibility & contrast
On white
4.01
#907F20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#907F20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #907F20
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##907F20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##907F20 | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C0D
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#9C756D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #907f20; /* rgb */ color: rgb(144, 127, 32); /* oklch */ color: oklch(59.5% 0.112 98.6);
Tailwind
colors: {
custom: {
50: '#b4a363',
500: '#907f20',
950: '#000000',
},
}SCSS
$custom: #907f20; $custom-light: #b4a363; $custom-dark: #000000;
JSON
{
"hex": "#907f20",
"rgb": {
"r": 144,
"g": 127,
"b": 32
},
"hsl": {
"h": 50.893,
"s": 63.636,
"l": 34.51
},
"oklch": {
"l": 0.59504,
"c": 0.11169,
"h": 98.6
},
"luminance": 0.21212
}Semantic roles & 50–950 ramp
primary
#907F20
secondary
#5060BC
accent
#5AE741
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A