#7E7E1D#7E7E1D
#7E7E1D is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.114 H 109.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7E1D |
|---|---|
| RGB | rgb(126, 126, 29) |
| HSL | hsl(60, 63%, 30%) |
| HSV | hsv(60, 77%, 49%) |
| CMYK | cmyk(0%, 0%, 77%, 50.6%) |
| CIE-LAB | lab(51.21, -11.96, 49.07) |
| CIE-LCH | lch(51.21, 50.50, 103.70°) |
| OKLab | oklab(57.53% -0.0382 0.1077) |
| OKLCH | oklch(57.53% 0.114 109.5) |
| XYZ | xyz(16.2874, 19.4465, 4.0578) |
| Luminance | 0.1945 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.36
Shit Green
#758000
ΔE00 3.36
Poop Green
#6F7C00
ΔE00 4.10
Olive (survey)
#6E750E
ΔE00 4.52
Murky Green
#6C7A0E
ΔE00 4.67
Swamp Green
#748500
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7E1D #1D1D7E
analogous
#7E4D1D #7E7E1D #4D7E1D
triadic
#7E7E1D #1D7E7E #7E1D7E
tetradic
#7E7E1D #1D7E4D #1D1D7E #7E1D4D
square
#7E7E1D #1D7E4D #1D1D7E #7E1D4D
split-complementary
#7E7E1D #1D4D7E #4D1D7E
monochromatic
#1B1B06 #4C4C12 #7E7E1D #B0B028 #D3D342
Accessibility & contrast
On white
4.30
#7E7E1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#7E7E1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7E1D
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7E1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7E1D | 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)
#897807
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#87766C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e7e1d; /* rgb */ color: rgb(126, 126, 29); /* oklch */ color: oklch(57.5% 0.114 109.5);
Tailwind
colors: {
custom: {
50: '#a7a361',
500: '#7e7e1d',
950: '#000000',
},
}SCSS
$custom: #7e7e1d; $custom-light: #a7a361; $custom-dark: #000000;
JSON
{
"hex": "#7e7e1d",
"rgb": {
"r": 126,
"g": 126,
"b": 29
},
"hsl": {
"h": 60,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.57526,
"c": 0.11426,
"h": 109.5
},
"luminance": 0.19446
}Semantic roles & 50–950 ramp
primary
#7E7E1D
secondary
#4545B1
accent
#42E642
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A