#948C24#948C24
#948C24 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.120 H 104.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #948C24 |
|---|---|
| RGB | rgb(148, 140, 36) |
| HSL | hsl(56, 61%, 36%) |
| HSV | hsv(56, 76%, 58%) |
| CMYK | cmyk(0%, 5.4%, 75.7%, 42%) |
| CIE-LAB | lab(57.25, -9.16, 52.93) |
| CIE-LCH | lch(57.25, 53.71, 99.82°) |
| OKLab | oklab(62.83% -0.0309 0.1164) |
| OKLCH | oklch(62.83% 0.12 104.9) |
| XYZ | xyz(21.9102, 25.1803, 5.3749) |
| Luminance | 0.2518 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.59
Pea Soup
#929901
ΔE00 5.81
Baby Poop Green
#8F9805
ΔE00 5.82
Baby Shit Green
#889717
ΔE00 6.56
Diarrhea
#9F8303
ΔE00 6.63
Baby Poo
#AB9004
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948C24 #242C94
analogous
#945424 #948C24 #649424
triadic
#948C24 #24948C #8C2494
tetradic
#948C24 #249454 #242C94 #942464
square
#948C24 #249454 #242C94 #942464
split-complementary
#948C24 #246494 #542494
monochromatic
#322F0C #635D18 #948C24 #C5BB30 #D7CE5B
Accessibility & contrast
On white
3.48
#948C24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#948C24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948C24
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948C24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948C24 | 1.00 | 3.48 | 6.04 | 6.04 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99870F
Deuteranopia (green-blind)
#9C8B2C
Tritanopia (blue-blind)
#9F8278
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #948c24; /* rgb */ color: rgb(148, 140, 36); /* oklch */ color: oklch(62.8% 0.120 104.9);
Tailwind
colors: {
custom: {
50: '#b7ad67',
500: '#948c24',
950: '#000000',
},
}SCSS
$custom: #948c24; $custom-light: #b7ad67; $custom-dark: #000000;
JSON
{
"hex": "#948c24",
"rgb": {
"r": 148,
"g": 140,
"b": 36
},
"hsl": {
"h": 55.714,
"s": 60.87,
"l": 36.078
},
"oklch": {
"l": 0.62833,
"c": 0.12041,
"h": 104.9
},
"luminance": 0.25179
}Semantic roles & 50–950 ramp
primary
#948C24
secondary
#585FBC
accent
#4FE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A