#948D2E#948D2E
#948D2E is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.115 H 105.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #948D2E |
|---|---|
| RGB | rgb(148, 141, 46) |
| HSL | hsl(56, 53%, 38%) |
| HSV | hsv(56, 69%, 58%) |
| CMYK | cmyk(0%, 4.7%, 68.9%, 42%) |
| CIE-LAB | lab(57.60, -9.18, 49.37) |
| CIE-LCH | lch(57.60, 50.21, 100.53°) |
| OKLab | oklab(63.13% -0.0299 0.1107) |
| OKLCH | oklch(63.13% 0.115 105.1) |
| XYZ | xyz(22.2316, 25.5437, 6.3436) |
| Luminance | 0.2554 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.99
Pea Soup
#929901
ΔE00 6.04
Olive
#808000
ΔE00 6.07
Baby Shit Green
#889717
ΔE00 6.45
Dark Khaki
#9B8F55
ΔE00 6.55
Drab
#828344
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948D2E #2E3594
analogous
#945A2E #948D2E #68942E
triadic
#948D2E #2E948D #8D2E94
tetradic
#948D2E #2E945A #2E3594 #942E68
square
#948D2E #2E945A #2E3594 #942E68
split-complementary
#948D2E #2E6894 #5A2E94
monochromatic
#373411 #65611F #948D2E #C3B93D #D1CA6B
Accessibility & contrast
On white
3.44
#948D2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#948D2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948D2E
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948D2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948D2E | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998820
Deuteranopia (green-blind)
#9C8C34
Tritanopia (blue-blind)
#9F837A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #948d2e; /* rgb */ color: rgb(148, 141, 46); /* oklch */ color: oklch(63.1% 0.115 105.1);
Tailwind
colors: {
custom: {
50: '#b6ae6c',
500: '#948d2e',
950: '#000000',
},
}SCSS
$custom: #948d2e; $custom-light: #b6ae6c; $custom-dark: #000000;
JSON
{
"hex": "#948d2e",
"rgb": {
"r": 148,
"g": 141,
"b": 46
},
"hsl": {
"h": 55.882,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.63134,
"c": 0.11467,
"h": 105.1
},
"luminance": 0.25543
}Semantic roles & 50–950 ramp
primary
#948D2E
secondary
#666BB8
accent
#56DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A