#848751#848751
#848751 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.075 H 111.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #848751 |
|---|---|
| RGB | rgb(132, 135, 81) |
| HSL | hsl(63, 25%, 42%) |
| HSV | hsv(63, 40%, 53%) |
| CMYK | cmyk(2.2%, 0%, 40%, 47.1%) |
| CIE-LAB | lab(54.89, -9.85, 28.65) |
| CIE-LCH | lch(54.89, 30.30, 108.98°) |
| OKLab | oklab(60.77% -0.0271 0.0699) |
| OKLCH | oklch(60.77% 0.075 111.2) |
| XYZ | xyz(19.6651, 22.8279, 11.1533) |
| Luminance | 0.2283 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 2.64
Camo
#7F8F4E
ΔE00 4.47
Khaki Green
#728639
ΔE00 6.23
Dark Khaki
#9B8F55
ΔE00 6.46
Moss Green
#8A9A5B
ΔE00 6.82
Swamp
#698339
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#848751 #545187
analogous
#876F51 #848751 #698751
triadic
#848751 #518487 #875184
tetradic
#848751 #51876F #545187 #875169
square
#848751 #51876F #545187 #875169
split-complementary
#848751 #516987 #6F5187
monochromatic
#393B23 #5F613A #848751 #A4A86E #BCBF94
Accessibility & contrast
On white
3.77
#848751 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#848751 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #848751
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##848751 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##848751 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F824D
Deuteranopia (green-blind)
#8F8453
Tritanopia (blue-blind)
#8B817A
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #848751; /* rgb */ color: rgb(132, 135, 81); /* oklch */ color: oklch(60.8% 0.075 111.2);
Tailwind
colors: {
custom: {
50: '#a9a982',
500: '#848751',
950: '#000000',
},
}SCSS
$custom: #848751; $custom-light: #a9a982; $custom-dark: #000000;
JSON
{
"hex": "#848751",
"rgb": {
"r": 132,
"g": 135,
"b": 81
},
"hsl": {
"h": 63.333,
"s": 25,
"l": 42.353
},
"oklch": {
"l": 0.6077,
"c": 0.07498,
"h": 111.2
},
"luminance": 0.22828
}Semantic roles & 50–950 ramp
primary
#848751
secondary
#8A88AC
accent
#66C16B
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100A
muted
#7F7F7C