#917E2D#917E2D
#917E2D is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.5% C 0.102 H 95.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #917E2D |
|---|---|
| RGB | rgb(145, 126, 45) |
| HSL | hsl(49, 53%, 37%) |
| HSV | hsv(49, 69%, 57%) |
| CMYK | cmyk(0%, 13.1%, 69%, 43.1%) |
| CIE-LAB | lab(53.09, -2.36, 45.07) |
| CIE-LCH | lch(53.09, 45.13, 92.99°) |
| OKLab | oklab(59.49% -0.0104 0.1016) |
| OKLCH | oklch(59.49% 0.102 95.8) |
| XYZ | xyz(19.6125, 21.1319, 5.5279) |
| Luminance | 0.2113 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.53
Baby Poop
#937C00
ΔE00 3.98
Puke Brown
#947706
ΔE00 4.67
Poo
#8F7303
ΔE00 5.33
Yellowish Brown
#9B7A01
ΔE00 5.43
Diarrhea
#9F8303
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#917E2D #2D4091
analogous
#914C2D #917E2D #72912D
triadic
#917E2D #2D917E #7E2D91
tetradic
#917E2D #2D914C #2D4091 #912D72
square
#917E2D #2D914C #2D4091 #912D72
split-complementary
#917E2D #2D7291 #4C2D91
monochromatic
#342D10 #62551F #917E2D #C0A73B #D0BC68
Accessibility & contrast
On white
4.02
#917E2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#917E2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #917E2D
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##917E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##917E2D | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B23
Deuteranopia (green-blind)
#908131
Tritanopia (blue-blind)
#9C746D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #917e2d; /* rgb */ color: rgb(145, 126, 45); /* oklch */ color: oklch(59.5% 0.102 95.8);
Tailwind
colors: {
custom: {
50: '#b4a36a',
500: '#917e2d',
950: '#000000',
},
}SCSS
$custom: #917e2d; $custom-light: #b4a36a; $custom-dark: #000000;
JSON
{
"hex": "#917e2d",
"rgb": {
"r": 145,
"g": 126,
"b": 45
},
"hsl": {
"h": 48.6,
"s": 52.632,
"l": 37.255
},
"oklch": {
"l": 0.59487,
"c": 0.10209,
"h": 95.8
},
"luminance": 0.21131
}Semantic roles & 50–950 ramp
primary
#917E2D
secondary
#6373B7
accent
#67DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A