#917A1E#917A1E
#917A1E is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.5% C 0.109 H 94.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #917A1E |
|---|---|
| RGB | rgb(145, 122, 30) |
| HSL | hsl(48, 66%, 34%) |
| HSV | hsv(48, 79%, 57%) |
| CMYK | cmyk(0%, 15.9%, 79.3%, 43.1%) |
| CIE-LAB | lab(51.88, -0.87, 49.99) |
| CIE-LCH | lch(51.88, 49.99, 91.00°) |
| OKLab | oklab(58.49% -0.0079 0.109) |
| OKLCH | oklch(58.49% 0.109 94.1) |
| XYZ | xyz(18.8720, 20.0336, 4.1009) |
| Luminance | 0.2003 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.52
Baby Poop
#937C00
ΔE00 2.47
Puke Brown
#947706
ΔE00 2.48
Poo
#8F7303
ΔE00 3.12
Yellowish Brown
#9B7A01
ΔE00 3.66
Diarrhea
#9F8303
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#917A1E #1E3591
analogous
#91411E #917A1E #6F911E
triadic
#917A1E #1E917A #7A1E91
tetradic
#917A1E #1E9141 #1E3591 #911E6F
square
#917A1E #1E9141 #1E3591 #911E6F
split-complementary
#917A1E #1E6F91 #411E91
monochromatic
#2C2509 #5E4F14 #917A1E #C4A528 #DBBF4F
Accessibility & contrast
On white
4.19
#917A1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#917A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #917A1E
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##917A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##917A1E | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#9D7068
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #917a1e; /* rgb */ color: rgb(145, 122, 30); /* oklch */ color: oklch(58.5% 0.109 94.1);
Tailwind
colors: {
custom: {
50: '#b5a062',
500: '#917a1e',
950: '#000000',
},
}SCSS
$custom: #917a1e; $custom-light: #b5a062; $custom-dark: #000000;
JSON
{
"hex": "#917a1e",
"rgb": {
"r": 145,
"g": 122,
"b": 30
},
"hsl": {
"h": 48,
"s": 65.714,
"l": 34.314
},
"oklch": {
"l": 0.5849,
"c": 0.1093,
"h": 94.1
},
"luminance": 0.20033
}Semantic roles & 50–950 ramp
primary
#917A1E
secondary
#4D64BD
accent
#61E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A