#917D2C#917D2C
#917D2C is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.3% C 0.102 H 95.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #917D2C |
|---|---|
| RGB | rgb(145, 125, 44) |
| HSL | hsl(48, 53%, 37%) |
| HSV | hsv(48, 70%, 57%) |
| CMYK | cmyk(0%, 13.8%, 69.7%, 43.1%) |
| CIE-LAB | lab(52.81, -1.86, 45.22) |
| CIE-LCH | lch(52.81, 45.26, 92.35°) |
| OKLab | oklab(59.26% -0.0091 0.1017) |
| OKLCH | oklch(59.26% 0.102 95.1) |
| XYZ | xyz(19.4662, 20.8698, 5.3853) |
| Luminance | 0.2087 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.15
Baby Poop
#937C00
ΔE00 3.86
Puke Brown
#947706
ΔE00 4.32
Poo
#8F7303
ΔE00 4.94
Yellowish Brown
#9B7A01
ΔE00 5.14
Diarrhea
#9F8303
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#917D2C #2C4091
analogous
#914B2C #917D2C #73912C
triadic
#917D2C #2C917D #7D2C91
tetradic
#917D2C #2C914B #2C4091 #912C73
square
#917D2C #2C914B #2C4091 #912C73
split-complementary
#917D2C #2C7391 #4B2C91
monochromatic
#332C10 #62551E #917D2C #C0A53A #D1BC67
Accessibility & contrast
On white
4.06
#917D2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#917D2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #917D2C
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##917D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##917D2C | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A21
Deuteranopia (green-blind)
#8F8130
Tritanopia (blue-blind)
#9D736C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #917d2c; /* rgb */ color: rgb(145, 125, 44); /* oklch */ color: oklch(59.3% 0.102 95.1);
Tailwind
colors: {
custom: {
50: '#b4a26a',
500: '#917d2c',
950: '#000000',
},
}SCSS
$custom: #917d2c; $custom-light: #b4a26a; $custom-dark: #000000;
JSON
{
"hex": "#917d2c",
"rgb": {
"r": 145,
"g": 125,
"b": 44
},
"hsl": {
"h": 48.119,
"s": 53.439,
"l": 37.059
},
"oklch": {
"l": 0.59257,
"c": 0.1021,
"h": 95.1
},
"luminance": 0.20869
}Semantic roles & 50–950 ramp
primary
#917D2C
secondary
#6273B7
accent
#68DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A