#948422#948422
#948422 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.0% C 0.115 H 99.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #948422 |
|---|---|
| RGB | rgb(148, 132, 34) |
| HSL | hsl(52, 63%, 36%) |
| HSV | hsv(52, 77%, 58%) |
| CMYK | cmyk(0%, 10.8%, 77%, 42%) |
| CIE-LAB | lab(54.98, -4.88, 51.53) |
| CIE-LCH | lch(54.98, 51.76, 95.41°) |
| OKLab | oklab(61.03% -0.019 0.113) |
| OKLCH | oklch(61.03% 0.115 99.6) |
| XYZ | xyz(20.7538, 22.9149, 4.8429) |
| Luminance | 0.2291 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.74
Diarrhea
#9F8303
ΔE00 4.23
Hazel
#8E7618
ΔE00 5.44
Olive
#808000
ΔE00 5.72
Dark Mustard
#A88905
ΔE00 5.78
Puke Brown
#947706
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948422 #223294
analogous
#944B22 #948422 #6B9422
triadic
#948422 #229484 #842294
tetradic
#948422 #22944B #223294 #94226B
square
#948422 #22944B #223294 #94226B
split-complementary
#948422 #226B94 #4B2294
monochromatic
#302B0B #625817 #948422 #C6B02D #D9C758
Accessibility & contrast
On white
3.76
#948422 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#948422 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948422
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948422 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948422 | 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)
#91800E
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#A07A71
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #948422; /* rgb */ color: rgb(148, 132, 34); /* oklch */ color: oklch(61.0% 0.115 99.6);
Tailwind
colors: {
custom: {
50: '#b7a765',
500: '#948422',
950: '#000000',
},
}SCSS
$custom: #948422; $custom-light: #b7a765; $custom-dark: #000000;
JSON
{
"hex": "#948422",
"rgb": {
"r": 148,
"g": 132,
"b": 34
},
"hsl": {
"h": 51.579,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.61029,
"c": 0.11459,
"h": 99.6
},
"luminance": 0.22914
}Semantic roles & 50–950 ramp
primary
#948422
secondary
#5564BD
accent
#59E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A