#7E7B19#7E7B19
#7E7B19 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.113 H 107.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7B19 |
|---|---|
| RGB | rgb(126, 123, 25) |
| HSL | hsl(58, 67%, 30%) |
| HSV | hsv(58, 80%, 49%) |
| CMYK | cmyk(0%, 2.4%, 80.2%, 50.6%) |
| CIE-LAB | lab(50.30, -10.49, 49.60) |
| CIE-LCH | lch(50.30, 50.70, 101.95°) |
| OKLab | oklab(56.8% -0.0344 0.1081) |
| OKLCH | oklch(56.8% 0.113 107.7) |
| XYZ | xyz(15.8633, 18.6723, 3.6880) |
| Luminance | 0.1867 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.71
Shit Green
#758000
ΔE00 4.17
Olive (survey)
#6E750E
ΔE00 4.27
Ugly Brown
#7D7103
ΔE00 4.45
Poop Green
#6F7C00
ΔE00 4.59
Murky Green
#6C7A0E
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7B19 #191C7E
analogous
#7E4919 #7E7B19 #4F7E19
triadic
#7E7B19 #197E7B #7B197E
tetradic
#7E7B19 #197E49 #191C7E #7E194F
square
#7E7B19 #197E49 #191C7E #7E194F
split-complementary
#7E7B19 #194F7E #49197E
monochromatic
#1A1905 #4B490F #7E7B19 #B1AD23 #D8D33A
Accessibility & contrast
On white
4.44
#7E7B19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#7E7B19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7B19
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7B19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7B19 | 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)
#887921
Tritanopia (blue-blind)
#887269
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7e7b19; /* rgb */ color: rgb(126, 123, 25); /* oklch */ color: oklch(56.8% 0.113 107.7);
Tailwind
colors: {
custom: {
50: '#a7a05f',
500: '#7e7b19',
950: '#000000',
},
}SCSS
$custom: #7e7b19; $custom-light: #a7a05f; $custom-dark: #000000;
JSON
{
"hex": "#7e7b19",
"rgb": {
"r": 126,
"g": 123,
"b": 25
},
"hsl": {
"h": 58.218,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.56797,
"c": 0.11341,
"h": 107.7
},
"luminance": 0.18672
}Semantic roles & 50–950 ramp
primary
#7E7B19
secondary
#4144B2
accent
#43EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79