#948D24#948D24
#948D24 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.121 H 105.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #948D24 |
|---|---|
| RGB | rgb(148, 141, 36) |
| HSL | hsl(56, 61%, 36%) |
| HSV | hsv(56, 76%, 58%) |
| CMYK | cmyk(0%, 4.7%, 75.7%, 42%) |
| CIE-LAB | lab(57.53, -9.70, 53.19) |
| CIE-LCH | lch(57.53, 54.07, 100.33°) |
| OKLab | oklab(63.06% -0.0324 0.1169) |
| OKLCH | oklch(63.06% 0.121 105.5) |
| XYZ | xyz(22.0570, 25.4739, 5.4238) |
| Luminance | 0.2547 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.42
Baby Poop Green
#8F9805
ΔE00 5.42
Olive
#808000
ΔE00 5.72
Baby Shit Green
#889717
ΔE00 6.18
Baby Poo
#AB9004
ΔE00 6.84
Diarrhea
#9F8303
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948D24 #242B94
analogous
#945524 #948D24 #639424
triadic
#948D24 #24948D #8D2494
tetradic
#948D24 #249455 #242B94 #942463
square
#948D24 #249455 #242B94 #942463
split-complementary
#948D24 #246394 #552494
monochromatic
#322F0C #635E18 #948D24 #C5BC30 #D7CF5B
Accessibility & contrast
On white
3.45
#948D24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#948D24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948D24
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948D24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948D24 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A880F
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#9F8379
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #948d24; /* rgb */ color: rgb(148, 141, 36); /* oklch */ color: oklch(63.1% 0.121 105.5);
Tailwind
colors: {
custom: {
50: '#b7ae67',
500: '#948d24',
950: '#000000',
},
}SCSS
$custom: #948d24; $custom-light: #b7ae67; $custom-dark: #000000;
JSON
{
"hex": "#948d24",
"rgb": {
"r": 148,
"g": 141,
"b": 36
},
"hsl": {
"h": 56.25,
"s": 60.87,
"l": 36.078
},
"oklch": {
"l": 0.63059,
"c": 0.12134,
"h": 105.5
},
"luminance": 0.25473
}Semantic roles & 50–950 ramp
primary
#948D24
secondary
#585EBC
accent
#4EE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A