#907F1F#907F1F
#907F1F 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 | #907F1F |
|---|---|
| RGB | rgb(144, 127, 31) |
| HSL | hsl(51, 65%, 34%) |
| HSV | hsv(51, 78%, 56%) |
| CMYK | cmyk(0%, 11.8%, 78.5%, 43.5%) |
| CIE-LAB | lab(53.18, -4.09, 50.79) |
| CIE-LCH | lch(53.18, 50.95, 94.60°) |
| OKLab | oklab(59.5% -0.0169 0.111) |
| OKLCH | oklch(59.5% 0.112 98.6) |
| XYZ | xyz(19.3393, 21.2079, 4.3709) |
| Luminance | 0.2121 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.77
Hazel
#8E7618
ΔE00 3.76
Puke Brown
#947706
ΔE00 4.54
Diarrhea
#9F8303
ΔE00 4.60
Yellowish Brown
#9B7A01
ΔE00 5.29
Poo
#8F7303
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#907F1F #1F3090
analogous
#90461F #907F1F #69901F
triadic
#907F1F #1F907F #7F1F90
tetradic
#907F1F #1F9046 #1F3090 #901F69
square
#907F1F #1F9046 #1F3090 #901F69
split-complementary
#907F1F #1F6990 #461F90
monochromatic
#2B2609 #5E5314 #907F1F #C2AB2A #D9C550
Accessibility & contrast
On white
4.01
#907F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#907F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #907F1F
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##907F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##907F1F | 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)
#8C7C0A
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#9C756D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #907f1f; /* rgb */ color: rgb(144, 127, 31); /* oklch */ color: oklch(59.5% 0.112 98.6);
Tailwind
colors: {
custom: {
50: '#b4a363',
500: '#907f1f',
950: '#000000',
},
}SCSS
$custom: #907f1f; $custom-light: #b4a363; $custom-dark: #000000;
JSON
{
"hex": "#907f1f",
"rgb": {
"r": 144,
"g": 127,
"b": 31
},
"hsl": {
"h": 50.973,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.59498,
"c": 0.11226,
"h": 98.6
},
"luminance": 0.21207
}Semantic roles & 50–950 ramp
primary
#907F1F
secondary
#4E5FBC
accent
#59E840
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A