#948420#948420
#948420 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.0% C 0.116 H 99.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #948420 |
|---|---|
| RGB | rgb(148, 132, 32) |
| HSL | hsl(52, 64%, 35%) |
| HSV | hsv(52, 78%, 58%) |
| CMYK | cmyk(0%, 10.8%, 78.4%, 42%) |
| CIE-LAB | lab(54.97, -4.97, 52.23) |
| CIE-LCH | lch(54.97, 52.47, 95.43°) |
| OKLab | oklab(61.02% -0.0195 0.1141) |
| OKLCH | oklch(61.02% 0.116 99.7) |
| XYZ | xyz(20.7257, 22.9037, 4.6954) |
| Luminance | 0.2290 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.65
Diarrhea
#9F8303
ΔE00 4.14
Hazel
#8E7618
ΔE00 5.46
Olive
#808000
ΔE00 5.65
Dark Mustard
#A88905
ΔE00 5.70
Puke Brown
#947706
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948420 #203094
analogous
#944A20 #948420 #6A9420
triadic
#948420 #209484 #842094
tetradic
#948420 #20944A #203094 #94206A
square
#948420 #20944A #203094 #94206A
split-complementary
#948420 #206A94 #4A2094
monochromatic
#2F2A0A #625715 #948420 #C6B12B #DAC854
Accessibility & contrast
On white
3.76
#948420 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#948420 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948420
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948420 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948420 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#A07A71
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #948420; /* rgb */ color: rgb(148, 132, 32); /* oklch */ color: oklch(61.0% 0.116 99.7);
Tailwind
colors: {
custom: {
50: '#b7a764',
500: '#948420',
950: '#000000',
},
}SCSS
$custom: #948420; $custom-light: #b7a764; $custom-dark: #000000;
JSON
{
"hex": "#948420",
"rgb": {
"r": 148,
"g": 132,
"b": 32
},
"hsl": {
"h": 51.724,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.61016,
"c": 0.11575,
"h": 99.7
},
"luminance": 0.22903
}Semantic roles & 50–950 ramp
primary
#948420
secondary
#5261BE
accent
#57E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A