#6E7F16#6E7F16
#6E7F16 is a mid, vivid yellow. Relative luminance 0.186; OKLCH L 56.3% C 0.124 H 119.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6E7F16 |
|---|---|
| RGB | rgb(110, 127, 22) |
| HSL | hsl(70, 70%, 29%) |
| HSV | hsv(70, 83%, 50%) |
| CMYK | cmyk(13.4%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(50.16, -20.08, 49.91) |
| CIE-LCH | lch(50.16, 53.80, 111.91°) |
| OKLab | oklab(56.35% -0.0603 0.1088) |
| OKLCH | oklch(56.35% 0.124 119) |
| XYZ | xyz(14.1649, 18.5518, 3.5935) |
| Luminance | 0.1855 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 1.94
Poop Green
#6F7C00
ΔE00 2.08
Olive Green
#677A04
ΔE00 2.25
Shit Green
#758000
ΔE00 2.69
Swamp Green
#748500
ΔE00 3.01
Dirty Green
#667E2C
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E7F16 #27167F
analogous
#7F5C16 #6E7F16 #3A7F16
triadic
#6E7F16 #166E7F #7F166E
tetradic
#6E7F16 #167F5C #27167F #7F163A
square
#6E7F16 #167F5C #27167F #7F163A
split-complementary
#6E7F16 #163A7F #5C167F
monochromatic
#171A05 #414B0D #6E7F16 #9BB31F #C1DC34
Accessibility & contrast
On white
4.46
#6E7F16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#6E7F16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6E7F16
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E7F16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6E7F16 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#75786C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #6e7f16; /* rgb */ color: rgb(110, 127, 22); /* oklch */ color: oklch(56.3% 0.124 119.0);
Tailwind
colors: {
custom: {
50: '#9ba45e',
500: '#6e7f16',
950: '#000000',
},
}SCSS
$custom: #6e7f16; $custom-light: #9ba45e; $custom-dark: #000000;
JSON
{
"hex": "#6e7f16",
"rgb": {
"r": 110,
"g": 127,
"b": 22
},
"hsl": {
"h": 69.714,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.56349,
"c": 0.12439,
"h": 119
},
"luminance": 0.18552
}Semantic roles & 50–950 ramp
primary
#6E7F16
secondary
#503DB4
accent
#3BED57
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0E0F05
muted
#7E7F79