#958918#958918
#958918 is a light, vivid yellow. Relative luminance 0.243; OKLCH L 62.2% C 0.124 H 102.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #958918 |
|---|---|
| RGB | rgb(149, 137, 24) |
| HSL | hsl(54, 72%, 34%) |
| HSV | hsv(54, 84%, 58%) |
| CMYK | cmyk(0%, 8.1%, 83.9%, 41.6%) |
| CIE-LAB | lab(56.43, -7.54, 56.09) |
| CIE-LCH | lch(56.43, 56.60, 97.65°) |
| OKLab | oklab(62.19% -0.0274 0.1207) |
| OKLCH | oklch(62.19% 0.124 102.8) |
| XYZ | xyz(21.5060, 24.3478, 4.4308) |
| Luminance | 0.2435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.09
Baby Poop
#937C00
ΔE00 5.30
Olive
#808000
ΔE00 5.45
Baby Poo
#AB9004
ΔE00 5.80
Dark Mustard
#A88905
ΔE00 5.97
Baby Shit Brown
#AD900D
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958918 #182495
analogous
#954B18 #958918 #639518
triadic
#958918 #189589 #891895
tetradic
#958918 #18954B #182495 #951863
square
#958918 #18954B #182495 #951863
split-complementary
#958918 #186395 #4B1895
monochromatic
#2C2807 #605910 #958918 #CAB920 #E1D246
Accessibility & contrast
On white
3.58
#958918 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#958918 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958918
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958918 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958918 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#9A8A22
Tritanopia (blue-blind)
#A17F75
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #958918; /* rgb */ color: rgb(149, 137, 24); /* oklch */ color: oklch(62.2% 0.124 102.8);
Tailwind
colors: {
custom: {
50: '#b8ab61',
500: '#958918',
950: '#000000',
},
}SCSS
$custom: #958918; $custom-light: #b8ab61; $custom-dark: #000000;
JSON
{
"hex": "#958918",
"rgb": {
"r": 149,
"g": 137,
"b": 24
},
"hsl": {
"h": 54.24,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.62187,
"c": 0.12381,
"h": 102.8
},
"luminance": 0.24347
}Semantic roles & 50–950 ramp
primary
#958918
secondary
#4652C2
accent
#4AEF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A