#948E24#948E24
#948E24 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.122 H 106.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #948E24 |
|---|---|
| RGB | rgb(148, 142, 36) |
| HSL | hsl(57, 61%, 36%) |
| HSV | hsv(57, 76%, 58%) |
| CMYK | cmyk(0%, 4.1%, 75.7%, 42%) |
| CIE-LAB | lab(57.82, -10.24, 53.46) |
| CIE-LCH | lch(57.82, 54.43, 100.84°) |
| OKLab | oklab(63.29% -0.0339 0.1175) |
| OKLCH | oklch(63.29% 0.122 106.1) |
| XYZ | xyz(22.2051, 25.7701, 5.4732) |
| Luminance | 0.2577 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.03
Baby Poop Green
#8F9805
ΔE00 5.04
Baby Shit Green
#889717
ΔE00 5.80
Olive
#808000
ΔE00 5.87
Baby Poo
#AB9004
ΔE00 6.99
Diarrhea
#9F8303
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948E24 #242A94
analogous
#945624 #948E24 #629424
triadic
#948E24 #24948E #8E2494
tetradic
#948E24 #249456 #242A94 #942462
square
#948E24 #249456 #242A94 #942462
split-complementary
#948E24 #246294 #562494
monochromatic
#32300C #635F18 #948E24 #C5BD30 #D7D15B
Accessibility & contrast
On white
3.41
#948E24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#948E24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948E24
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948E24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948E24 | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 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)
#9B890E
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#9F847A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #948e24; /* rgb */ color: rgb(148, 142, 36); /* oklch */ color: oklch(63.3% 0.122 106.1);
Tailwind
colors: {
custom: {
50: '#b7ae67',
500: '#948e24',
950: '#000000',
},
}SCSS
$custom: #948e24; $custom-light: #b7ae67; $custom-dark: #000000;
JSON
{
"hex": "#948e24",
"rgb": {
"r": 148,
"g": 142,
"b": 36
},
"hsl": {
"h": 56.786,
"s": 60.87,
"l": 36.078
},
"oklch": {
"l": 0.63285,
"c": 0.1223,
"h": 106.1
},
"luminance": 0.25769
}Semantic roles & 50–950 ramp
primary
#948E24
secondary
#585DBC
accent
#4CE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A