#7E7019#7E7019
#7E7019 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.103 H 99.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7019 |
|---|---|
| RGB | rgb(126, 112, 25) |
| HSL | hsl(52, 67%, 30%) |
| HSV | hsv(52, 80%, 49%) |
| CMYK | cmyk(0%, 11.1%, 80.2%, 50.6%) |
| CIE-LAB | lab(47.10, -4.35, 46.70) |
| CIE-LCH | lch(47.10, 46.90, 95.33°) |
| OKLab | oklab(54.25% -0.0172 0.1018) |
| OKLCH | oklch(54.25% 0.103 99.6) |
| XYZ | xyz(14.5746, 16.0949, 3.2584) |
| Luminance | 0.1609 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.97
Brown Green
#706C11
ΔE00 4.00
Browny Green
#6F6C0A
ΔE00 4.34
Hazel
#8E7618
ΔE00 4.57
Poo
#8F7303
ΔE00 5.41
Brownish Green
#6A6E09
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7019 #19277E
analogous
#7E3E19 #7E7019 #5A7E19
triadic
#7E7019 #197E70 #70197E
tetradic
#7E7019 #197E3E #19277E #7E195A
square
#7E7019 #197E3E #19277E #7E195A
split-complementary
#7E7019 #195A7E #3E197E
monochromatic
#1A1705 #4B430F #7E7019 #B19D23 #D8C23A
Accessibility & contrast
On white
4.98
#7E7019 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#7E7019 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7019
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7019 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7019 | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D05
Deuteranopia (green-blind)
#7F721F
Tritanopia (blue-blind)
#886760
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7e7019; /* rgb */ color: rgb(126, 112, 25); /* oklch */ color: oklch(54.2% 0.103 99.6);
Tailwind
colors: {
custom: {
50: '#a7985e',
500: '#7e7019',
950: '#000000',
},
}SCSS
$custom: #7e7019; $custom-light: #a7985e; $custom-dark: #000000;
JSON
{
"hex": "#7e7019",
"rgb": {
"r": 126,
"g": 112,
"b": 25
},
"hsl": {
"h": 51.683,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.54249,
"c": 0.10327,
"h": 99.6
},
"luminance": 0.16094
}Semantic roles & 50–950 ramp
primary
#7E7019
secondary
#4150B2
accent
#56EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79