#7E7219#7E7219
#7E7219 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.105 H 101.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7219 |
|---|---|
| RGB | rgb(126, 114, 25) |
| HSL | hsl(53, 67%, 30%) |
| HSV | hsv(53, 80%, 49%) |
| CMYK | cmyk(0%, 9.5%, 80.2%, 50.6%) |
| CIE-LAB | lab(47.68, -5.49, 47.22) |
| CIE-LCH | lch(47.68, 47.54, 96.63°) |
| OKLab | oklab(54.71% -0.0204 0.103) |
| OKLCH | oklch(54.71% 0.105 101.2) |
| XYZ | xyz(14.7977, 16.5411, 3.3328) |
| Luminance | 0.1654 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.69
Brown Green
#706C11
ΔE00 3.89
Browny Green
#6F6C0A
ΔE00 4.17
Hazel
#8E7618
ΔE00 4.70
Poo
#8F7303
ΔE00 5.72
Brownish Green
#6A6E09
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7219 #19257E
analogous
#7E3F19 #7E7219 #587E19
triadic
#7E7219 #197E72 #72197E
tetradic
#7E7219 #197E3F #19257E #7E1958
square
#7E7219 #197E3F #19257E #7E1958
split-complementary
#7E7219 #19587E #3F197E
monochromatic
#1A1705 #4B440F #7E7219 #B1A023 #D8C53A
Accessibility & contrast
On white
4.87
#7E7219 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#7E7219 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7219
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7219 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7219 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6E04
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#886961
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7e7219; /* rgb */ color: rgb(126, 114, 25); /* oklch */ color: oklch(54.7% 0.105 101.2);
Tailwind
colors: {
custom: {
50: '#a79a5e',
500: '#7e7219',
950: '#000000',
},
}SCSS
$custom: #7e7219; $custom-light: #a79a5e; $custom-dark: #000000;
JSON
{
"hex": "#7e7219",
"rgb": {
"r": 126,
"g": 114,
"b": 25
},
"hsl": {
"h": 52.871,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.54707,
"c": 0.10496,
"h": 101.2
},
"luminance": 0.1654
}Semantic roles & 50–950 ramp
primary
#7E7219
secondary
#414EB2
accent
#52EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79