#7E7B14#7E7B14
#7E7B14 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.116 H 107.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7B14 |
|---|---|
| RGB | rgb(126, 123, 20) |
| HSL | hsl(58, 73%, 29%) |
| HSV | hsv(58, 84%, 49%) |
| CMYK | cmyk(0%, 2.4%, 84.1%, 50.6%) |
| CIE-LAB | lab(50.28, -10.68, 51.11) |
| CIE-LCH | lch(50.28, 52.22, 101.80°) |
| OKLab | oklab(56.77% -0.0354 0.1103) |
| OKLCH | oklch(56.77% 0.116 107.8) |
| XYZ | xyz(15.8141, 18.6526, 3.4290) |
| Luminance | 0.1865 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.40
Shit Green
#758000
ΔE00 4.05
Olive (survey)
#6E750E
ΔE00 4.32
Ugly Brown
#7D7103
ΔE00 4.36
Poop Green
#6F7C00
ΔE00 4.53
Murky Green
#6C7A0E
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7B14 #14177E
analogous
#7E4614 #7E7B14 #4C7E14
triadic
#7E7B14 #147E7B #7B147E
tetradic
#7E7B14 #147E46 #14177E #7E144C
square
#7E7B14 #147E46 #14177E #7E144C
split-complementary
#7E7B14 #144C7E #46147E
monochromatic
#1A1A04 #49470C #7E7B14 #B3AF1C #DED92E
Accessibility & contrast
On white
4.44
#7E7B14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#7E7B14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7B14
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7B14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7B14 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#88791E
Tritanopia (blue-blind)
#887269
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7e7b14; /* rgb */ color: rgb(126, 123, 20); /* oklch */ color: oklch(56.8% 0.116 107.8);
Tailwind
colors: {
custom: {
50: '#a7a05d',
500: '#7e7b14',
950: '#000000',
},
}SCSS
$custom: #7e7b14; $custom-light: #a7a05d; $custom-dark: #000000;
JSON
{
"hex": "#7e7b14",
"rgb": {
"r": 126,
"g": 123,
"b": 20
},
"hsl": {
"h": 58.302,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.56771,
"c": 0.11584,
"h": 107.8
},
"luminance": 0.18652
}Semantic roles & 50–950 ramp
primary
#7E7B14
secondary
#3A3EB3
accent
#3EEF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79