#958227#958227
#958227 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.7% C 0.110 H 97.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #958227 |
|---|---|
| RGB | rgb(149, 130, 39) |
| HSL | hsl(50, 59%, 37%) |
| HSV | hsv(50, 74%, 58%) |
| CMYK | cmyk(0%, 12.8%, 73.8%, 41.6%) |
| CIE-LAB | lab(54.56, -3.08, 49.23) |
| CIE-LCH | lch(54.56, 49.32, 93.58°) |
| OKLab | oklab(60.72% -0.0134 0.1091) |
| OKLCH | oklch(60.72% 0.11 97) |
| XYZ | xyz(20.7443, 22.5024, 5.1698) |
| Luminance | 0.2250 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.40
Diarrhea
#9F8303
ΔE00 4.00
Hazel
#8E7618
ΔE00 4.53
Puke Brown
#947706
ΔE00 4.94
Yellowish Brown
#9B7A01
ΔE00 5.19
Dark Mustard
#A88905
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958227 #273A95
analogous
#954B27 #958227 #719527
triadic
#958227 #279582 #822795
tetradic
#958227 #27954B #273A95 #952771
square
#958227 #27954B #273A95 #952771
split-complementary
#958227 #277195 #4B2795
monochromatic
#342D0E #64581A #958227 #C6AC34 #D6C161
Accessibility & contrast
On white
3.82
#958227 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#958227 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958227
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958227 | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F19
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#A17870
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #958227; /* rgb */ color: rgb(149, 130, 39); /* oklch */ color: oklch(60.7% 0.110 97.0);
Tailwind
colors: {
custom: {
50: '#b8a668',
500: '#958227',
950: '#000000',
},
}SCSS
$custom: #958227; $custom-light: #b8a668; $custom-dark: #000000;
JSON
{
"hex": "#958227",
"rgb": {
"r": 149,
"g": 130,
"b": 39
},
"hsl": {
"h": 49.636,
"s": 58.511,
"l": 36.863
},
"oklch": {
"l": 0.60722,
"c": 0.1099,
"h": 97
},
"luminance": 0.22501
}Semantic roles & 50–950 ramp
primary
#958227
secondary
#5D6DBB
accent
#61E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A