#7E893F#7E893F
#7E893F is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.5% C 0.099 H 116.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7E893F |
|---|---|
| RGB | rgb(126, 137, 63) |
| HSL | hsl(69, 37%, 39%) |
| HSV | hsv(69, 54%, 54%) |
| CMYK | cmyk(8%, 0%, 54%, 46.3%) |
| CIE-LAB | lab(54.75, -15.46, 37.83) |
| CIE-LCH | lch(54.75, 40.87, 112.22°) |
| OKLab | oklab(60.45% -0.0443 0.089) |
| OKLCH | oklch(60.45% 0.099 116.5) |
| XYZ | xyz(18.4473, 22.6860, 8.1087) |
| Luminance | 0.2269 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 2.95
Camo
#7F8F4E
ΔE00 3.22
Drab
#828344
ΔE00 3.56
Swamp
#698339
ΔE00 5.16
Dirty Green
#667E2C
ΔE00 6.20
Olivedrab
#6B8E23
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E893F #4A3F89
analogous
#896F3F #7E893F #59893F
triadic
#7E893F #3F7E89 #893F7E
tetradic
#7E893F #3F896F #4A3F89 #893F59
square
#7E893F #3F896F #4A3F89 #893F59
split-complementary
#7E893F #3F5989 #6F3F89
monochromatic
#313518 #575F2C #7E893F #A3B155 #BAC47E
Accessibility & contrast
On white
3.79
#7E893F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#7E893F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E893F
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E893F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E893F | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918338
Deuteranopia (green-blind)
#908443
Tritanopia (blue-blind)
#858278
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #7e893f; /* rgb */ color: rgb(126, 137, 63); /* oklch */ color: oklch(60.5% 0.099 116.5);
Tailwind
colors: {
custom: {
50: '#a5ab76',
500: '#7e893f',
950: '#000000',
},
}SCSS
$custom: #7e893f; $custom-light: #a5ab76; $custom-dark: #000000;
JSON
{
"hex": "#7e893f",
"rgb": {
"r": 126,
"g": 137,
"b": 63
},
"hsl": {
"h": 68.919,
"s": 37,
"l": 39.216
},
"oklch": {
"l": 0.60453,
"c": 0.09945,
"h": 116.5
},
"luminance": 0.22686
}Semantic roles & 50–950 ramp
primary
#7E893F
secondary
#7E76AE
accent
#5BCD6C
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B