#917F25#917F25
#917F25 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.6% C 0.109 H 97.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #917F25 |
|---|---|
| RGB | rgb(145, 127, 37) |
| HSL | hsl(50, 59%, 36%) |
| HSV | hsv(50, 74%, 57%) |
| CMYK | cmyk(0%, 12.4%, 74.5%, 43.1%) |
| CIE-LAB | lab(53.31, -3.35, 48.68) |
| CIE-LCH | lch(53.31, 48.80, 93.94°) |
| OKLab | oklab(59.64% -0.0142 0.1077) |
| OKLCH | oklch(59.64% 0.109 97.5) |
| XYZ | xyz(19.6013, 21.3331, 4.8351) |
| Luminance | 0.2133 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.11
Hazel
#8E7618
ΔE00 3.63
Puke Brown
#947706
ΔE00 4.50
Diarrhea
#9F8303
ΔE00 4.70
Yellowish Brown
#9B7A01
ΔE00 5.20
Poo
#8F7303
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#917F25 #253791
analogous
#914925 #917F25 #6D9125
triadic
#917F25 #25917F #7F2591
tetradic
#917F25 #259149 #253791 #91256D
square
#917F25 #259149 #253791 #91256D
split-complementary
#917F25 #256D91 #492591
monochromatic
#2F2A0C #605419 #917F25 #C2AA31 #D5C15B
Accessibility & contrast
On white
3.99
#917F25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#917F25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #917F25
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##917F25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##917F25 | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C16
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#9D756D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #917f25; /* rgb */ color: rgb(145, 127, 37); /* oklch */ color: oklch(59.6% 0.109 97.5);
Tailwind
colors: {
custom: {
50: '#b5a366',
500: '#917f25',
950: '#000000',
},
}SCSS
$custom: #917f25; $custom-light: #b5a366; $custom-dark: #000000;
JSON
{
"hex": "#917f25",
"rgb": {
"r": 145,
"g": 127,
"b": 37
},
"hsl": {
"h": 50,
"s": 59.341,
"l": 35.686
},
"oklch": {
"l": 0.5964,
"c": 0.10862,
"h": 97.5
},
"luminance": 0.21332
}Semantic roles & 50–950 ramp
primary
#917F25
secondary
#5868BA
accent
#5FE345
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A