#7E7F13#7E7F13
#7E7F13 is a mid, vivid yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.120 H 110.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7F13 |
|---|---|
| RGB | rgb(126, 127, 19) |
| HSL | hsl(61, 74%, 29%) |
| HSV | hsv(61, 85%, 50%) |
| CMYK | cmyk(0.8%, 0%, 85%, 50.2%) |
| CIE-LAB | lab(51.45, -12.89, 52.39) |
| CIE-LCH | lch(51.45, 53.96, 103.82°) |
| OKLab | oklab(57.71% -0.0416 0.1129) |
| OKLCH | oklch(57.71% 0.12 110.2) |
| XYZ | xyz(16.3117, 19.6619, 3.5518) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.38
Shit Green
#758000
ΔE00 2.77
Poop Green
#6F7C00
ΔE00 3.84
Swamp Green
#748500
ΔE00 4.33
Murky Green
#6C7A0E
ΔE00 4.72
Olive (survey)
#6E750E
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7F13 #14137F
analogous
#7F4A13 #7E7F13 #487F13
triadic
#7E7F13 #137E7F #7F137E
tetradic
#7E7F13 #137F4A #14137F #7F1348
square
#7E7F13 #137F4A #14137F #7F1348
split-complementary
#7E7F13 #13487F #4A137F
monochromatic
#1A1B04 #494A0B #7E7F13 #B3B41B #DEE02D
Accessibility & contrast
On white
4.26
#7E7F13 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#7E7F13 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7F13
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7F13 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7F13 | 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)
#8B7C1E
Tritanopia (blue-blind)
#88766C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7e7f13; /* rgb */ color: rgb(126, 127, 19); /* oklch */ color: oklch(57.7% 0.120 110.2);
Tailwind
colors: {
custom: {
50: '#a7a35d',
500: '#7e7f13',
950: '#000000',
},
}SCSS
$custom: #7e7f13; $custom-light: #a7a35d; $custom-dark: #000000;
JSON
{
"hex": "#7e7f13",
"rgb": {
"r": 126,
"g": 127,
"b": 19
},
"hsl": {
"h": 60.556,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.57708,
"c": 0.1203,
"h": 110.2
},
"luminance": 0.19661
}Semantic roles & 50–950 ramp
primary
#7E7F13
secondary
#3A39B4
accent
#37F139
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79