#7E883E#7E883E
#7E883E is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.2% C 0.099 H 115.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7E883E |
|---|---|
| RGB | rgb(126, 136, 62) |
| HSL | hsl(68, 37%, 39%) |
| HSV | hsv(68, 54%, 53%) |
| CMYK | cmyk(7.4%, 0%, 54.4%, 46.7%) |
| CIE-LAB | lab(54.44, -15.02, 37.98) |
| CIE-LCH | lch(54.44, 40.84, 111.58°) |
| OKLab | oklab(60.2% -0.0432 0.0892) |
| OKLCH | oklch(60.2% 0.099 115.8) |
| XYZ | xyz(18.2781, 22.3920, 7.9157) |
| Luminance | 0.2239 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.02
Drab
#828344
ΔE00 3.26
Camo
#7F8F4E
ΔE00 3.58
Swamp
#698339
ΔE00 5.21
Dirty Green
#667E2C
ΔE00 6.10
Swamp Green
#748500
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E883E #483E88
analogous
#886D3E #7E883E #59883E
triadic
#7E883E #3E7E88 #883E7E
tetradic
#7E883E #3E886D #483E88 #883E59
square
#7E883E #3E886D #483E88 #883E59
split-complementary
#7E883E #3E5988 #6D3E88
monochromatic
#303418 #575E2B #7E883E #A4B053 #BAC47D
Accessibility & contrast
On white
3.83
#7E883E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#7E883E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E883E
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E883E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E883E | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918237
Deuteranopia (green-blind)
#908342
Tritanopia (blue-blind)
#858177
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #7e883e; /* rgb */ color: rgb(126, 136, 62); /* oklch */ color: oklch(60.2% 0.099 115.8);
Tailwind
colors: {
custom: {
50: '#a5aa76',
500: '#7e883e',
950: '#000000',
},
}SCSS
$custom: #7e883e; $custom-light: #a5aa76; $custom-dark: #000000;
JSON
{
"hex": "#7e883e",
"rgb": {
"r": 126,
"g": 136,
"b": 62
},
"hsl": {
"h": 68.108,
"s": 37.374,
"l": 38.824
},
"oklch": {
"l": 0.60204,
"c": 0.09914,
"h": 115.8
},
"luminance": 0.22392
}Semantic roles & 50–950 ramp
primary
#7E883E
secondary
#7C74AE
accent
#5ACD6A
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B