#7E7E1A#7E7E1A
#7E7E1A is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.116 H 109.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7E1A |
|---|---|
| RGB | rgb(126, 126, 26) |
| HSL | hsl(60, 66%, 30%) |
| HSV | hsv(60, 79%, 49%) |
| CMYK | cmyk(0%, 0%, 79.4%, 50.6%) |
| CIE-LAB | lab(51.19, -12.09, 50.08) |
| CIE-LCH | lch(51.19, 51.51, 103.57°) |
| OKLab | oklab(57.51% -0.0388 0.1093) |
| OKLCH | oklch(57.51% 0.116 109.6) |
| XYZ | xyz(16.2521, 19.4324, 3.8718) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.07
Shit Green
#758000
ΔE00 3.22
Poop Green
#6F7C00
ΔE00 4.02
Olive (survey)
#6E750E
ΔE00 4.52
Murky Green
#6C7A0E
ΔE00 4.68
Swamp Green
#748500
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7E1A #1A1A7E
analogous
#7E4C1A #7E7E1A #4C7E1A
triadic
#7E7E1A #1A7E7E #7E1A7E
tetradic
#7E7E1A #1A7E4C #1A1A7E #7E1A4C
square
#7E7E1A #1A7E4C #1A1A7E #7E1A4C
split-complementary
#7E7E1A #1A4C7E #4C1A7E
monochromatic
#191905 #4B4B10 #7E7E1A #B1B124 #D7D73C
Accessibility & contrast
On white
4.30
#7E7E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#7E7E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7E1A
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7E1A | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#87756B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e7e1a; /* rgb */ color: rgb(126, 126, 26); /* oklch */ color: oklch(57.5% 0.116 109.6);
Tailwind
colors: {
custom: {
50: '#a7a360',
500: '#7e7e1a',
950: '#000000',
},
}SCSS
$custom: #7e7e1a; $custom-light: #a7a360; $custom-dark: #000000;
JSON
{
"hex": "#7e7e1a",
"rgb": {
"r": 126,
"g": 126,
"b": 26
},
"hsl": {
"h": 60,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.57507,
"c": 0.11594,
"h": 109.6
},
"luminance": 0.19432
}Semantic roles & 50–950 ramp
primary
#7E7E1A
secondary
#4242B2
accent
#3FE93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79