#948E2D#948E2D
#948E2D is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.4% C 0.116 H 105.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #948E2D |
|---|---|
| RGB | rgb(148, 142, 45) |
| HSL | hsl(57, 53%, 38%) |
| HSV | hsv(57, 70%, 58%) |
| CMYK | cmyk(0%, 4.1%, 69.6%, 42%) |
| CIE-LAB | lab(57.88, -9.78, 50.06) |
| CIE-LCH | lch(57.88, 51.00, 101.05°) |
| OKLab | oklab(63.35% -0.0317 0.112) |
| OKLCH | oklch(63.35% 0.116 105.8) |
| XYZ | xyz(22.3603, 25.8322, 6.2904) |
| Luminance | 0.2583 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.54
Pea Soup
#929901
ΔE00 5.60
Baby Shit Green
#889717
ΔE00 6.04
Olive
#808000
ΔE00 6.16
Dark Khaki
#9B8F55
ΔE00 6.80
Drab
#828344
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948E2D #2D3394
analogous
#945A2D #948E2D #66942D
triadic
#948E2D #2D948E #8E2D94
tetradic
#948E2D #2D945A #2D3394 #942D66
square
#948E2D #2D945A #2D3394 #942D66
split-complementary
#948E2D #2D6694 #5A2D94
monochromatic
#363410 #65611F #948E2D #C3BB3B #D2CC6A
Accessibility & contrast
On white
3.41
#948E2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#948E2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948E2D
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948E2D | 1.00 | 3.41 | 6.17 | 6.17 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A891F
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#9F847B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #948e2d; /* rgb */ color: rgb(148, 142, 45); /* oklch */ color: oklch(63.4% 0.116 105.8);
Tailwind
colors: {
custom: {
50: '#b6ae6c',
500: '#948e2d',
950: '#000000',
},
}SCSS
$custom: #948e2d; $custom-light: #b6ae6c; $custom-dark: #000000;
JSON
{
"hex": "#948e2d",
"rgb": {
"r": 148,
"g": 142,
"b": 45
},
"hsl": {
"h": 56.505,
"s": 53.368,
"l": 37.843
},
"oklch": {
"l": 0.63352,
"c": 0.11638,
"h": 105.8
},
"luminance": 0.25831
}Semantic roles & 50–950 ramp
primary
#948E2D
secondary
#6469B8
accent
#54DD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A