#7E7F19#7E7F19
#7E7F19 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.118 H 110.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7F19 |
|---|---|
| RGB | rgb(126, 127, 25) |
| HSL | hsl(61, 67%, 30%) |
| HSV | hsv(61, 80%, 50%) |
| CMYK | cmyk(0.8%, 0%, 80.3%, 50.2%) |
| CIE-LAB | lab(51.48, -12.67, 50.66) |
| CIE-LCH | lch(51.48, 52.22, 104.04°) |
| OKLab | oklab(57.74% -0.0405 0.1103) |
| OKLCH | oklch(57.74% 0.118 110.2) |
| XYZ | xyz(16.3696, 19.6850, 3.8568) |
| Luminance | 0.1968 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.88
Shit Green
#758000
ΔE00 2.92
Poop Green
#6F7C00
ΔE00 3.90
Swamp Green
#748500
ΔE00 4.42
Murky Green
#6C7A0E
ΔE00 4.64
Olive (survey)
#6E750E
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7F19 #1A197F
analogous
#7F4D19 #7E7F19 #4B7F19
triadic
#7E7F19 #197E7F #7F197E
tetradic
#7E7F19 #197F4D #1A197F #7F194B
square
#7E7F19 #197F4D #1A197F #7F194B
split-complementary
#7E7F19 #194B7F #4D197F
monochromatic
#191A05 #4B4C0F #7E7F19 #B1B223 #D7D83A
Accessibility & contrast
On white
4.25
#7E7F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#7E7F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7F19
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7F19 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#87766C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7e7f19; /* rgb */ color: rgb(126, 127, 25); /* oklch */ color: oklch(57.7% 0.118 110.2);
Tailwind
colors: {
custom: {
50: '#a7a360',
500: '#7e7f19',
950: '#000000',
},
}SCSS
$custom: #7e7f19; $custom-light: #a7a360; $custom-dark: #000000;
JSON
{
"hex": "#7e7f19",
"rgb": {
"r": 126,
"g": 127,
"b": 25
},
"hsl": {
"h": 60.588,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.57738,
"c": 0.11751,
"h": 110.2
},
"luminance": 0.19685
}Semantic roles & 50–950 ramp
primary
#7E7F19
secondary
#4241B3
accent
#3EEA3F
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79