#958118#958118
#958118 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.4% C 0.118 H 97.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #958118 |
|---|---|
| RGB | rgb(149, 129, 24) |
| HSL | hsl(50, 72%, 34%) |
| HSV | hsv(50, 84%, 58%) |
| CMYK | cmyk(0%, 13.4%, 83.9%, 41.6%) |
| CIE-LAB | lab(54.19, -3.14, 54.17) |
| CIE-LCH | lch(54.19, 54.27, 93.32°) |
| OKLab | oklab(60.41% -0.0151 0.1166) |
| OKLCH | oklch(60.41% 0.118 97.4) |
| XYZ | xyz(20.4107, 22.1571, 4.0657) |
| Luminance | 0.2216 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.17
Diarrhea
#9F8303
ΔE00 3.06
Puke Brown
#947706
ΔE00 4.27
Hazel
#8E7618
ΔE00 4.29
Yellowish Brown
#9B7A01
ΔE00 4.47
Dark Mustard
#A88905
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958118 #182C95
analogous
#954318 #958118 #6B9518
triadic
#958118 #189581 #811895
tetradic
#958118 #189543 #182C95 #95186B
square
#958118 #189543 #182C95 #95186B
split-complementary
#958118 #186B95 #431895
monochromatic
#2C2607 #605310 #958118 #CAAF20 #E1C846
Accessibility & contrast
On white
3.87
#958118 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#958118 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958118
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958118 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958118 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#948420
Tritanopia (blue-blind)
#A2766E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #958118; /* rgb */ color: rgb(149, 129, 24); /* oklch */ color: oklch(60.4% 0.118 97.4);
Tailwind
colors: {
custom: {
50: '#b8a560',
500: '#958118',
950: '#000000',
},
}SCSS
$custom: #958118; $custom-light: #b8a560; $custom-dark: #000000;
JSON
{
"hex": "#958118",
"rgb": {
"r": 149,
"g": 129,
"b": 24
},
"hsl": {
"h": 50.4,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.60408,
"c": 0.11752,
"h": 97.4
},
"luminance": 0.22156
}Semantic roles & 50–950 ramp
primary
#958118
secondary
#465AC2
accent
#56EF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A