#7E883A#7E883A
#7E883A is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.2% C 0.103 H 115.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7E883A |
|---|---|
| RGB | rgb(126, 136, 58) |
| HSL | hsl(68, 40%, 38%) |
| HSV | hsv(68, 57%, 53%) |
| CMYK | cmyk(7.4%, 0%, 57.4%, 46.7%) |
| CIE-LAB | lab(54.40, -15.39, 39.91) |
| CIE-LCH | lch(54.40, 42.77, 111.08°) |
| OKLab | oklab(60.15% -0.0447 0.0929) |
| OKLCH | oklch(60.15% 0.103 115.7) |
| XYZ | xyz(18.1724, 22.3497, 7.3588) |
| Luminance | 0.2235 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.13
Drab
#828344
ΔE00 3.60
Camo
#7F8F4E
ΔE00 4.10
Swamp
#698339
ΔE00 5.39
Swamp Green
#748500
ΔE00 5.67
Dirty Green
#667E2C
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E883A #443A88
analogous
#886B3A #7E883A #57883A
triadic
#7E883A #3A7E88 #883A7E
tetradic
#7E883A #3A886B #443A88 #883A57
square
#7E883A #3A886B #443A88 #883A57
split-complementary
#7E883A #3A5788 #6B3A88
monochromatic
#2F3215 #565D28 #7E883A #A6B34C #BBC577
Accessibility & contrast
On white
3.84
#7E883A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#7E883A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E883A
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E883A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E883A | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918232
Deuteranopia (green-blind)
#90833F
Tritanopia (blue-blind)
#858177
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #7e883a; /* rgb */ color: rgb(126, 136, 58); /* oklch */ color: oklch(60.2% 0.103 115.7);
Tailwind
colors: {
custom: {
50: '#a5aa73',
500: '#7e883a',
950: '#000000',
},
}SCSS
$custom: #7e883a; $custom-light: #a5aa73; $custom-dark: #000000;
JSON
{
"hex": "#7e883a",
"rgb": {
"r": 126,
"g": 136,
"b": 58
},
"hsl": {
"h": 67.692,
"s": 40.206,
"l": 38.039
},
"oklch": {
"l": 0.60154,
"c": 0.10312,
"h": 115.7
},
"luminance": 0.22349
}Semantic roles & 50–950 ramp
primary
#7E883A
secondary
#776FAE
accent
#58D067
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B