#95871F#95871F
#95871F is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.119 H 101.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #95871F |
|---|---|
| RGB | rgb(149, 135, 31) |
| HSL | hsl(53, 66%, 35%) |
| HSV | hsv(53, 79%, 58%) |
| CMYK | cmyk(0%, 9.4%, 79.2%, 41.6%) |
| CIE-LAB | lab(55.90, -6.20, 53.46) |
| CIE-LCH | lch(55.90, 53.82, 96.61°) |
| OKLab | oklab(61.78% -0.0231 0.1165) |
| OKLCH | oklch(61.78% 0.119 101.2) |
| XYZ | xyz(21.3068, 23.8174, 4.7710) |
| Luminance | 0.2382 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.58
Baby Poop
#937C00
ΔE00 4.60
Olive
#808000
ΔE00 5.57
Dark Mustard
#A88905
ΔE00 5.73
Baby Poo
#AB9004
ΔE00 5.99
Baby Shit Brown
#AD900D
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#95871F #1F2D95
analogous
#954C1F #95871F #68951F
triadic
#95871F #1F9587 #871F95
tetradic
#95871F #1F954C #1F2D95 #951F68
square
#95871F #1F954C #1F2D95 #951F68
split-complementary
#95871F #1F6895 #4C1F95
monochromatic
#302B0A #625914 #95871F #C8B52A #DBCB53
Accessibility & contrast
On white
3.64
#95871F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#95871F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #95871F
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##95871F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##95871F | 1.00 | 3.64 | 5.76 | 5.76 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948305
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#A17D74
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #95871f; /* rgb */ color: rgb(149, 135, 31); /* oklch */ color: oklch(61.8% 0.119 101.2);
Tailwind
colors: {
custom: {
50: '#b8a964',
500: '#95871f',
950: '#000000',
},
}SCSS
$custom: #95871f; $custom-light: #b8a964; $custom-dark: #000000;
JSON
{
"hex": "#95871f",
"rgb": {
"r": 149,
"g": 135,
"b": 31
},
"hsl": {
"h": 52.881,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.61776,
"c": 0.11874,
"h": 101.2
},
"luminance": 0.23816
}Semantic roles & 50–950 ramp
primary
#95871F
secondary
#515EBF
accent
#53E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A