#917E27#917E27
#917E27 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.4% C 0.106 H 96.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #917E27 |
|---|---|
| RGB | rgb(145, 126, 39) |
| HSL | hsl(49, 58%, 36%) |
| HSV | hsv(49, 73%, 57%) |
| CMYK | cmyk(0%, 13.1%, 73.1%, 43.1%) |
| CIE-LAB | lab(53.05, -2.69, 47.61) |
| CIE-LCH | lch(53.05, 47.68, 93.24°) |
| OKLab | oklab(59.44% -0.0121 0.1058) |
| OKLCH | oklch(59.44% 0.107 96.5) |
| XYZ | xyz(19.5051, 21.0890, 4.9623) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.22
Hazel
#8E7618
ΔE00 3.26
Puke Brown
#947706
ΔE00 4.24
Diarrhea
#9F8303
ΔE00 4.88
Poo
#8F7303
ΔE00 4.98
Yellowish Brown
#9B7A01
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#917E27 #273A91
analogous
#914927 #917E27 #6F9127
triadic
#917E27 #27917E #7E2791
tetradic
#917E27 #279149 #273A91 #91276F
square
#917E27 #279149 #273A91 #91276F
split-complementary
#917E27 #276F91 #492791
monochromatic
#312A0D #61541A #917E27 #C1A834 #D4BF5F
Accessibility & contrast
On white
4.02
#917E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#917E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #917E27
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##917E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##917E27 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#9D746D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #917e27; /* rgb */ color: rgb(145, 126, 39); /* oklch */ color: oklch(59.4% 0.106 96.5);
Tailwind
colors: {
custom: {
50: '#b5a367',
500: '#917e27',
950: '#000000',
},
}SCSS
$custom: #917e27; $custom-light: #b5a367; $custom-dark: #000000;
JSON
{
"hex": "#917e27",
"rgb": {
"r": 145,
"g": 126,
"b": 39
},
"hsl": {
"h": 49.245,
"s": 57.609,
"l": 36.078
},
"oklch": {
"l": 0.59435,
"c": 0.1065,
"h": 96.5
},
"luminance": 0.21088
}Semantic roles & 50–950 ramp
primary
#917E27
secondary
#5B6CB9
accent
#63E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A