#7E7F15#7E7F15
#7E7F15 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.119 H 110.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7F15 |
|---|---|
| RGB | rgb(126, 127, 21) |
| HSL | hsl(61, 72%, 29%) |
| HSV | hsv(61, 83%, 50%) |
| CMYK | cmyk(0.8%, 0%, 83.5%, 50.2%) |
| CIE-LAB | lab(51.46, -12.82, 51.85) |
| CIE-LCH | lch(51.46, 53.41, 103.89°) |
| OKLab | oklab(57.72% -0.0412 0.1121) |
| OKLCH | oklch(57.72% 0.119 110.2) |
| XYZ | xyz(16.3295, 19.6690, 3.6456) |
| Luminance | 0.1967 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.53
Shit Green
#758000
ΔE00 2.81
Poop Green
#6F7C00
ΔE00 3.85
Swamp Green
#748500
ΔE00 4.35
Murky Green
#6C7A0E
ΔE00 4.69
Olive (survey)
#6E750E
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7F15 #16157F
analogous
#7F4B15 #7E7F15 #497F15
triadic
#7E7F15 #157E7F #7F157E
tetradic
#7E7F15 #157F4B #16157F #7F1549
square
#7E7F15 #157F4B #16157F #7F1549
split-complementary
#7E7F15 #15497F #4B157F
monochromatic
#1A1A04 #4A4A0C #7E7F15 #B2B41E #DBDD31
Accessibility & contrast
On white
4.26
#7E7F15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#7E7F15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7F15
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7F15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7F15 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7C1F
Tritanopia (blue-blind)
#88766C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7e7f15; /* rgb */ color: rgb(126, 127, 21); /* oklch */ color: oklch(57.7% 0.119 110.2);
Tailwind
colors: {
custom: {
50: '#a7a35e',
500: '#7e7f15',
950: '#000000',
},
}SCSS
$custom: #7e7f15; $custom-light: #a7a35e; $custom-dark: #000000;
JSON
{
"hex": "#7e7f15",
"rgb": {
"r": 126,
"g": 127,
"b": 21
},
"hsl": {
"h": 60.566,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.57717,
"c": 0.11944,
"h": 110.2
},
"luminance": 0.19669
}Semantic roles & 50–950 ramp
primary
#7E7F15
secondary
#3D3CB4
accent
#39EE3B
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79