#7E7910#7E7910
#7E7910 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.116 H 106.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7910 |
|---|---|
| RGB | rgb(126, 121, 16) |
| HSL | hsl(57, 77%, 28%) |
| HSV | hsv(57, 87%, 49%) |
| CMYK | cmyk(0%, 4%, 87.3%, 50.6%) |
| CIE-LAB | lab(49.68, -9.70, 51.68) |
| CIE-LCH | lch(49.68, 52.58, 100.63°) |
| OKLab | oklab(56.29% -0.0329 0.1108) |
| OKLCH | oklch(56.29% 0.116 106.6) |
| XYZ | xyz(15.5358, 18.1484, 3.1747) |
| Luminance | 0.1815 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.01
Ugly Brown
#7D7103
ΔE00 3.45
Olive (survey)
#6E750E
ΔE00 4.43
Shit Green
#758000
ΔE00 4.77
Poop Green
#6F7C00
ΔE00 5.06
Browny Green
#6F6C0A
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7910 #10157E
analogous
#7E4210 #7E7910 #4C7E10
triadic
#7E7910 #107E79 #79107E
tetradic
#7E7910 #107E42 #10157E #7E104C
square
#7E7910 #107E42 #10157E #7E104C
split-complementary
#7E7910 #104C7E #42107E
monochromatic
#1B1A03 #484509 #7E7910 #B4AD17 #E3DB25
Accessibility & contrast
On white
4.54
#7E7910 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#7E7910 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7910
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7910 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7910 | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#86781B
Tritanopia (blue-blind)
#887067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7e7910; /* rgb */ color: rgb(126, 121, 16); /* oklch */ color: oklch(56.3% 0.116 106.6);
Tailwind
colors: {
custom: {
50: '#a79f5b',
500: '#7e7910',
950: '#000000',
},
}SCSS
$custom: #7e7910; $custom-light: #a79f5b; $custom-dark: #000000;
JSON
{
"hex": "#7e7910",
"rgb": {
"r": 126,
"g": 121,
"b": 16
},
"hsl": {
"h": 57.273,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.56285,
"c": 0.11556,
"h": 106.6
},
"luminance": 0.18148
}Semantic roles & 50–950 ramp
primary
#7E7910
secondary
#363BB4
accent
#3DF434
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79