#948E20#948E20
#948E20 is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.3% C 0.125 H 106.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #948E20 |
|---|---|
| RGB | rgb(148, 142, 32) |
| HSL | hsl(57, 64%, 35%) |
| HSV | hsv(57, 78%, 58%) |
| CMYK | cmyk(0%, 4.1%, 78.4%, 42%) |
| CIE-LAB | lab(57.80, -10.41, 54.82) |
| CIE-LCH | lch(57.80, 55.79, 100.75°) |
| OKLab | oklab(63.26% -0.0348 0.1196) |
| OKLCH | oklch(63.26% 0.125 106.2) |
| XYZ | xyz(22.1474, 25.7470, 5.1693) |
| Luminance | 0.2575 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.86
Baby Poop Green
#8F9805
ΔE00 4.89
Baby Shit Green
#889717
ΔE00 5.76
Olive
#808000
ΔE00 5.81
Baby Poo
#AB9004
ΔE00 6.85
Diarrhea
#9F8303
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948E20 #202694
analogous
#945420 #948E20 #609420
triadic
#948E20 #20948E #8E2094
tetradic
#948E20 #209454 #202694 #942060
square
#948E20 #209454 #202694 #942060
split-complementary
#948E20 #206094 #542094
monochromatic
#2F2D0A #625E15 #948E20 #C6BE2B #DAD354
Accessibility & contrast
On white
3.42
#948E20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#948E20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948E20
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948E20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948E20 | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8803
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#9F8479
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #948e20; /* rgb */ color: rgb(148, 142, 32); /* oklch */ color: oklch(63.3% 0.125 106.2);
Tailwind
colors: {
custom: {
50: '#b7ae65',
500: '#948e20',
950: '#000000',
},
}SCSS
$custom: #948e20; $custom-light: #b7ae65; $custom-dark: #000000;
JSON
{
"hex": "#948e20",
"rgb": {
"r": 148,
"g": 142,
"b": 32
},
"hsl": {
"h": 56.897,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.63261,
"c": 0.12456,
"h": 106.2
},
"luminance": 0.25746
}Semantic roles & 50–950 ramp
primary
#948E20
secondary
#5258BE
accent
#49E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A