#828D3F#828D3F
#828D3F is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.104 H 116.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #828D3F |
|---|---|
| RGB | rgb(130, 141, 63) |
| HSL | hsl(68, 38%, 40%) |
| HSV | hsv(68, 55%, 55%) |
| CMYK | cmyk(7.8%, 0%, 55.3%, 44.7%) |
| CIE-LAB | lab(56.24, -15.85, 39.65) |
| CIE-LCH | lch(56.24, 42.70, 111.79°) |
| OKLab | oklab(61.73% -0.0457 0.0929) |
| OKLCH | oklch(61.73% 0.104 116.2) |
| XYZ | xyz(19.6283, 24.1547, 8.3300) |
| Luminance | 0.2415 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Camo
#7F8F4E
ΔE00 3.22
Khaki Green
#728639
ΔE00 4.03
Drab
#828344
ΔE00 4.54
Moss Green
#8A9A5B
ΔE00 5.66
Olivedrab
#6B8E23
ΔE00 6.07
Swamp
#698339
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#828D3F #4A3F8D
analogous
#8D713F #828D3F #5B8D3F
triadic
#828D3F #3F828D #8D3F82
tetradic
#828D3F #3F8D71 #4A3F8D #8D3F5B
square
#828D3F #3F8D71 #4A3F8D #8D3F5B
split-complementary
#828D3F #3F5B8D #713F8D
monochromatic
#343819 #5B632C #828D3F #A6B356 #BCC680
Accessibility & contrast
On white
3.60
#828D3F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#828D3F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #828D3F
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##828D3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##828D3F | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968637
Deuteranopia (green-blind)
#958743
Tritanopia (blue-blind)
#89867C
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #828d3f; /* rgb */ color: rgb(130, 141, 63); /* oklch */ color: oklch(61.7% 0.104 116.2);
Tailwind
colors: {
custom: {
50: '#a8ae77',
500: '#828d3f',
950: '#000000',
},
}SCSS
$custom: #828d3f; $custom-light: #a8ae77; $custom-dark: #000000;
JSON
{
"hex": "#828d3f",
"rgb": {
"r": 130,
"g": 141,
"b": 63
},
"hsl": {
"h": 68.462,
"s": 38.235,
"l": 40
},
"oklch": {
"l": 0.61729,
"c": 0.10352,
"h": 116.2
},
"luminance": 0.24154
}Semantic roles & 50–950 ramp
primary
#828D3F
secondary
#7F77B1
accent
#5ACE6A
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#101009
muted
#7F7F7B