#958818#958818
#958818 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 62.0% C 0.123 H 102.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #958818 |
|---|---|
| RGB | rgb(149, 136, 24) |
| HSL | hsl(54, 72%, 34%) |
| HSV | hsv(54, 84%, 58%) |
| CMYK | cmyk(0%, 8.7%, 83.9%, 41.6%) |
| CIE-LAB | lab(56.15, -6.99, 55.85) |
| CIE-LCH | lch(56.15, 56.29, 97.14°) |
| OKLab | oklab(61.96% -0.0259 0.1202) |
| OKLCH | oklch(61.96% 0.123 102.2) |
| XYZ | xyz(21.3645, 24.0648, 4.3836) |
| Luminance | 0.2406 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.75
Baby Poop
#937C00
ΔE00 4.89
Olive
#808000
ΔE00 5.45
Dark Mustard
#A88905
ΔE00 5.76
Baby Poo
#AB9004
ΔE00 5.77
Baby Shit Brown
#AD900D
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958818 #182595
analogous
#954A18 #958818 #649518
triadic
#958818 #189588 #881895
tetradic
#958818 #18954A #182595 #951864
square
#958818 #18954A #182595 #951864
split-complementary
#958818 #186495 #4A1895
monochromatic
#2C2807 #605810 #958818 #CAB820 #E1D146
Accessibility & contrast
On white
3.61
#958818 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#958818 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958818
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958818 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958818 | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#998922
Tritanopia (blue-blind)
#A17E74
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #958818; /* rgb */ color: rgb(149, 136, 24); /* oklch */ color: oklch(62.0% 0.123 102.2);
Tailwind
colors: {
custom: {
50: '#b8aa61',
500: '#958818',
950: '#000000',
},
}SCSS
$custom: #958818; $custom-light: #b8aa61; $custom-dark: #000000;
JSON
{
"hex": "#958818",
"rgb": {
"r": 149,
"g": 136,
"b": 24
},
"hsl": {
"h": 53.76,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.61963,
"c": 0.12297,
"h": 102.2
},
"luminance": 0.24064
}Semantic roles & 50–950 ramp
primary
#958818
secondary
#4653C2
accent
#4CEF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A