#958018#958018
#958018 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.2% C 0.117 H 96.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #958018 |
|---|---|
| RGB | rgb(149, 128, 24) |
| HSL | hsl(50, 72%, 34%) |
| HSV | hsv(50, 84%, 58%) |
| CMYK | cmyk(0%, 14.1%, 83.9%, 41.6%) |
| CIE-LAB | lab(53.92, -2.58, 53.94) |
| CIE-LCH | lch(53.92, 54.00, 92.74°) |
| OKLab | oklab(60.19% -0.0135 0.116) |
| OKLCH | oklch(60.19% 0.117 96.7) |
| XYZ | xyz(20.2796, 21.8950, 4.0220) |
| Luminance | 0.2189 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 1.87
Diarrhea
#9F8303
ΔE00 3.00
Puke Brown
#947706
ΔE00 3.84
Hazel
#8E7618
ΔE00 3.89
Yellowish Brown
#9B7A01
ΔE00 4.08
Poo
#8F7303
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958018 #182D95
analogous
#954218 #958018 #6C9518
triadic
#958018 #189580 #801895
tetradic
#958018 #189542 #182D95 #95186C
square
#958018 #189542 #182D95 #95186C
split-complementary
#958018 #186C95 #421895
monochromatic
#2C2507 #605310 #958018 #CAAD20 #E1C746
Accessibility & contrast
On white
3.90
#958018 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#958018 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958018
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958018 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958018 | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#948420
Tritanopia (blue-blind)
#A2756D
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #958018; /* rgb */ color: rgb(149, 128, 24); /* oklch */ color: oklch(60.2% 0.117 96.7);
Tailwind
colors: {
custom: {
50: '#b8a460',
500: '#958018',
950: '#000000',
},
}SCSS
$custom: #958018; $custom-light: #b8a460; $custom-dark: #000000;
JSON
{
"hex": "#958018",
"rgb": {
"r": 149,
"g": 128,
"b": 24
},
"hsl": {
"h": 49.92,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.60188,
"c": 0.11682,
"h": 96.7
},
"luminance": 0.21894
}Semantic roles & 50–950 ramp
primary
#958018
secondary
#465BC2
accent
#57EF39
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F05
muted
#817F7A