#7E891A#7E891A
#7E891A is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.1% C 0.128 H 115.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7E891A |
|---|---|
| RGB | rgb(126, 137, 26) |
| HSL | hsl(66, 68%, 32%) |
| HSV | hsv(66, 81%, 54%) |
| CMYK | cmyk(8%, 0%, 81%, 46.3%) |
| CIE-LAB | lab(54.45, -17.94, 53.01) |
| CIE-LCH | lch(54.45, 55.96, 108.70°) |
| OKLab | oklab(60.12% -0.055 0.1155) |
| OKLCH | oklch(60.12% 0.128 115.5) |
| XYZ | xyz(17.7368, 22.4018, 4.3667) |
| Luminance | 0.2240 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.55
Shit Green
#758000
ΔE00 3.53
Dark Yellow Green
#728F02
ΔE00 4.19
Olive
#808000
ΔE00 4.30
Baby Shit Green
#889717
ΔE00 4.85
Poop Green
#6F7C00
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E891A #251A89
analogous
#895D1A #7E891A #47891A
triadic
#7E891A #1A7E89 #891A7E
tetradic
#7E891A #1A895D #251A89 #891A47
square
#7E891A #1A895D #251A89 #891A47
split-complementary
#7E891A #1A4789 #5D1A89
monochromatic
#1F2206 #4F5610 #7E891A #ADBC24 #CCDB42
Accessibility & contrast
On white
3.83
#7E891A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#7E891A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E891A
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E891A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E891A | 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)
#938200
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#878175
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #7e891a; /* rgb */ color: rgb(126, 137, 26); /* oklch */ color: oklch(60.1% 0.128 115.5);
Tailwind
colors: {
custom: {
50: '#a7ab62',
500: '#7e891a',
950: '#000000',
},
}SCSS
$custom: #7e891a; $custom-light: #a7ab62; $custom-dark: #000000;
JSON
{
"hex": "#7e891a",
"rgb": {
"r": 126,
"g": 137,
"b": 26
},
"hsl": {
"h": 65.946,
"s": 68.098,
"l": 31.961
},
"oklch": {
"l": 0.6012,
"c": 0.12794,
"h": 115.5
},
"luminance": 0.22402
}Semantic roles & 50–950 ramp
primary
#7E891A
secondary
#4F43BC
accent
#3DEB4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A