#907D1F#907D1F
#907D1F is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.1% C 0.111 H 97.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #907D1F |
|---|---|
| RGB | rgb(144, 125, 31) |
| HSL | hsl(50, 65%, 34%) |
| HSV | hsv(50, 78%, 56%) |
| CMYK | cmyk(0%, 13.2%, 78.5%, 43.5%) |
| CIE-LAB | lab(52.62, -2.98, 50.27) |
| CIE-LCH | lch(52.62, 50.36, 93.39°) |
| OKLab | oklab(59.05% -0.0137 0.1099) |
| OKLCH | oklch(59.05% 0.111 97.1) |
| XYZ | xyz(19.0835, 20.6965, 4.2857) |
| Luminance | 0.2069 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.44
Hazel
#8E7618
ΔE00 2.86
Puke Brown
#947706
ΔE00 3.76
Poo
#8F7303
ΔE00 4.46
Diarrhea
#9F8303
ΔE00 4.61
Yellowish Brown
#9B7A01
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#907D1F #1F3290
analogous
#90451F #907D1F #6A901F
triadic
#907D1F #1F907D #7D1F90
tetradic
#907D1F #1F9045 #1F3290 #901F6A
square
#907D1F #1F9045 #1F3290 #901F6A
split-complementary
#907D1F #1F6A90 #451F90
monochromatic
#2B2609 #5E5114 #907D1F #C2A92A #D9C250
Accessibility & contrast
On white
4.09
#907D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#907D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #907D1F
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##907D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##907D1F | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#9C736B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #907d1f; /* rgb */ color: rgb(144, 125, 31); /* oklch */ color: oklch(59.1% 0.111 97.1);
Tailwind
colors: {
custom: {
50: '#b4a263',
500: '#907d1f',
950: '#000000',
},
}SCSS
$custom: #907d1f; $custom-light: #b4a263; $custom-dark: #000000;
JSON
{
"hex": "#907d1f",
"rgb": {
"r": 144,
"g": 125,
"b": 31
},
"hsl": {
"h": 49.912,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.59054,
"c": 0.11073,
"h": 97.1
},
"luminance": 0.20695
}Semantic roles & 50–950 ramp
primary
#907D1F
secondary
#4E61BC
accent
#5CE840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A