#958218#958218
#958218 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.6% C 0.118 H 98.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #958218 |
|---|---|
| RGB | rgb(149, 130, 24) |
| HSL | hsl(51, 72%, 34%) |
| HSV | hsv(51, 84%, 58%) |
| CMYK | cmyk(0%, 12.8%, 83.9%, 41.6%) |
| CIE-LAB | lab(54.47, -3.70, 54.41) |
| CIE-LCH | lch(54.47, 54.54, 93.89°) |
| OKLab | oklab(60.63% -0.0167 0.1171) |
| OKLCH | oklch(60.63% 0.118 98.1) |
| XYZ | xyz(20.5430, 22.4219, 4.1098) |
| Luminance | 0.2242 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.51
Diarrhea
#9F8303
ΔE00 3.18
Hazel
#8E7618
ΔE00 4.70
Puke Brown
#947706
ΔE00 4.71
Yellowish Brown
#9B7A01
ΔE00 4.87
Dark Mustard
#A88905
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958218 #182B95
analogous
#954418 #958218 #6A9518
triadic
#958218 #189582 #821895
tetradic
#958218 #189544 #182B95 #95186A
square
#958218 #189544 #182B95 #95186A
split-complementary
#958218 #186A95 #441895
monochromatic
#2C2607 #605410 #958218 #CAB020 #E1CA46
Accessibility & contrast
On white
3.83
#958218 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#958218 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958218
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958218 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958218 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#958521
Tritanopia (blue-blind)
#A1776F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #958218; /* rgb */ color: rgb(149, 130, 24); /* oklch */ color: oklch(60.6% 0.118 98.1);
Tailwind
colors: {
custom: {
50: '#b8a560',
500: '#958218',
950: '#000000',
},
}SCSS
$custom: #958218; $custom-light: #b8a560; $custom-dark: #000000;
JSON
{
"hex": "#958218",
"rgb": {
"r": 149,
"g": 130,
"b": 24
},
"hsl": {
"h": 50.88,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.60629,
"c": 0.11826,
"h": 98.1
},
"luminance": 0.22421
}Semantic roles & 50–950 ramp
primary
#958218
secondary
#4659C2
accent
#55EF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A