#948C22#948C22
#948C22 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.122 H 104.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #948C22 |
|---|---|
| RGB | rgb(148, 140, 34) |
| HSL | hsl(56, 63%, 36%) |
| HSV | hsv(56, 77%, 58%) |
| CMYK | cmyk(0%, 5.4%, 77%, 42%) |
| CIE-LAB | lab(57.24, -9.25, 53.63) |
| CIE-LCH | lch(57.24, 54.42, 99.78°) |
| OKLab | oklab(62.82% -0.0313 0.1175) |
| OKLCH | oklch(62.82% 0.122 104.9) |
| XYZ | xyz(21.8805, 25.1684, 5.2185) |
| Luminance | 0.2517 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.55
Pea Soup
#929901
ΔE00 5.72
Baby Poop Green
#8F9805
ΔE00 5.74
Baby Shit Green
#889717
ΔE00 6.53
Diarrhea
#9F8303
ΔE00 6.58
Baby Poo
#AB9004
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948C22 #222A94
analogous
#945322 #948C22 #639422
triadic
#948C22 #22948C #8C2294
tetradic
#948C22 #229453 #222A94 #942263
square
#948C22 #229453 #222A94 #942263
split-complementary
#948C22 #226394 #532294
monochromatic
#302E0B #625D17 #948C22 #C6BB2D #D9D058
Accessibility & contrast
On white
3.48
#948C22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#948C22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948C22
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948C22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948C22 | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99870A
Deuteranopia (green-blind)
#9C8B2A
Tritanopia (blue-blind)
#9F8278
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #948c22; /* rgb */ color: rgb(148, 140, 34); /* oklch */ color: oklch(62.8% 0.122 104.9);
Tailwind
colors: {
custom: {
50: '#b7ad66',
500: '#948c22',
950: '#000000',
},
}SCSS
$custom: #948c22; $custom-light: #b7ad66; $custom-dark: #000000;
JSON
{
"hex": "#948c22",
"rgb": {
"r": 148,
"g": 140,
"b": 34
},
"hsl": {
"h": 55.789,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.62821,
"c": 0.12157,
"h": 104.9
},
"luminance": 0.25168
}Semantic roles & 50–950 ramp
primary
#948C22
secondary
#555CBD
accent
#4EE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A