#7E7919#7E7919
#7E7919 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.111 H 106.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7919 |
|---|---|
| RGB | rgb(126, 121, 25) |
| HSL | hsl(57, 67%, 30%) |
| HSV | hsv(57, 80%, 49%) |
| CMYK | cmyk(0%, 4%, 80.2%, 50.6%) |
| CIE-LAB | lab(49.72, -9.39, 49.07) |
| CIE-LCH | lch(49.72, 49.96, 100.84°) |
| OKLab | oklab(56.33% -0.0314 0.1069) |
| OKLCH | oklch(56.33% 0.111 106.4) |
| XYZ | xyz(15.6177, 18.1811, 3.6062) |
| Luminance | 0.1818 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.42
Ugly Brown
#7D7103
ΔE00 3.64
Olive (survey)
#6E750E
ΔE00 4.34
Shit Green
#758000
ΔE00 4.94
Brown Green
#706C11
ΔE00 5.13
Poop Green
#6F7C00
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7919 #191E7E
analogous
#7E4719 #7E7919 #507E19
triadic
#7E7919 #197E79 #79197E
tetradic
#7E7919 #197E47 #191E7E #7E1950
square
#7E7919 #197E47 #191E7E #7E1950
split-complementary
#7E7919 #19507E #47197E
monochromatic
#1A1905 #4B480F #7E7919 #B1AA23 #D8D03A
Accessibility & contrast
On white
4.53
#7E7919 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#7E7919 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7919
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7919 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7919 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847401
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#887067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7e7919; /* rgb */ color: rgb(126, 121, 25); /* oklch */ color: oklch(56.3% 0.111 106.4);
Tailwind
colors: {
custom: {
50: '#a79f5f',
500: '#7e7919',
950: '#000000',
},
}SCSS
$custom: #7e7919; $custom-light: #a79f5f; $custom-dark: #000000;
JSON
{
"hex": "#7e7919",
"rgb": {
"r": 126,
"g": 121,
"b": 25
},
"hsl": {
"h": 57.03,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.56329,
"c": 0.11143,
"h": 106.4
},
"luminance": 0.18181
}Semantic roles & 50–950 ramp
primary
#7E7919
secondary
#4146B2
accent
#47EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79