#948B24#948B24
#948B24 is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.6% C 0.119 H 104.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #948B24 |
|---|---|
| RGB | rgb(148, 139, 36) |
| HSL | hsl(55, 61%, 36%) |
| HSV | hsv(55, 76%, 58%) |
| CMYK | cmyk(0%, 6.1%, 75.7%, 42%) |
| CIE-LAB | lab(56.97, -8.62, 52.66) |
| CIE-LCH | lch(56.97, 53.36, 99.29°) |
| OKLab | oklab(62.61% -0.0294 0.1158) |
| OKLCH | oklch(62.61% 0.119 104.2) |
| XYZ | xyz(21.7647, 24.8894, 5.3264) |
| Luminance | 0.2489 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.49
Pea Soup
#929901
ΔE00 6.21
Baby Poop Green
#8F9805
ΔE00 6.22
Diarrhea
#9F8303
ΔE00 6.29
Baby Poop
#937C00
ΔE00 6.44
Baby Poo
#AB9004
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948B24 #242D94
analogous
#945324 #948B24 #659424
triadic
#948B24 #24948B #8B2494
tetradic
#948B24 #249453 #242D94 #942465
square
#948B24 #249453 #242D94 #942465
split-complementary
#948B24 #246594 #532494
monochromatic
#322F0C #635D18 #948B24 #C5B930 #D7CD5B
Accessibility & contrast
On white
3.51
#948B24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#948B24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948B24
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948B24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948B24 | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988610
Deuteranopia (green-blind)
#9B8B2C
Tritanopia (blue-blind)
#9F8177
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #948b24; /* rgb */ color: rgb(148, 139, 36); /* oklch */ color: oklch(62.6% 0.119 104.2);
Tailwind
colors: {
custom: {
50: '#b7ac67',
500: '#948b24',
950: '#000000',
},
}SCSS
$custom: #948b24; $custom-light: #b7ac67; $custom-dark: #000000;
JSON
{
"hex": "#948b24",
"rgb": {
"r": 148,
"g": 139,
"b": 36
},
"hsl": {
"h": 55.179,
"s": 60.87,
"l": 36.078
},
"oklch": {
"l": 0.62608,
"c": 0.11947,
"h": 104.2
},
"luminance": 0.24889
}Semantic roles & 50–950 ramp
primary
#948B24
secondary
#5860BC
accent
#51E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A