#7E893A#7E893A
#7E893A is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.4% C 0.104 H 116.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7E893A |
|---|---|
| RGB | rgb(126, 137, 58) |
| HSL | hsl(68, 41%, 38%) |
| HSV | hsv(68, 58%, 54%) |
| CMYK | cmyk(8%, 0%, 57.7%, 46.3%) |
| CIE-LAB | lab(54.69, -15.91, 40.24) |
| CIE-LCH | lch(54.69, 43.28, 111.58°) |
| OKLab | oklab(60.39% -0.0462 0.0937) |
| OKLCH | oklch(60.39% 0.104 116.2) |
| XYZ | xyz(18.3139, 22.6326, 7.4059) |
| Luminance | 0.2263 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.08
Camo
#7F8F4E
ΔE00 3.92
Drab
#828344
ΔE00 3.94
Swamp
#698339
ΔE00 5.39
Swamp Green
#748500
ΔE00 5.64
Olivedrab
#6B8E23
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E893A #453A89
analogous
#896C3A #7E893A #56893A
triadic
#7E893A #3A7E89 #893A7E
tetradic
#7E893A #3A896C #453A89 #893A56
square
#7E893A #3A896C #453A89 #893A56
split-complementary
#7E893A #3A5689 #6C3A89
monochromatic
#2F3316 #565E28 #7E893A #A5B44D #BBC678
Accessibility & contrast
On white
3.80
#7E893A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#7E893A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E893A
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E893A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E893A | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928232
Deuteranopia (green-blind)
#91833F
Tritanopia (blue-blind)
#858278
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #7e893a; /* rgb */ color: rgb(126, 137, 58); /* oklch */ color: oklch(60.4% 0.104 116.2);
Tailwind
colors: {
custom: {
50: '#a5ab73',
500: '#7e893a',
950: '#000000',
},
}SCSS
$custom: #7e893a; $custom-light: #a5ab73; $custom-dark: #000000;
JSON
{
"hex": "#7e893a",
"rgb": {
"r": 126,
"g": 137,
"b": 58
},
"hsl": {
"h": 68.354,
"s": 40.513,
"l": 38.235
},
"oklch": {
"l": 0.60391,
"c": 0.10442,
"h": 116.2
},
"luminance": 0.22632
}Semantic roles & 50–950 ramp
primary
#7E893A
secondary
#7970AF
accent
#57D068
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B