#6E7F17#6E7F17
#6E7F17 is a mid, vivid yellow. Relative luminance 0.186; OKLCH L 56.4% C 0.124 H 119.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6E7F17 |
|---|---|
| RGB | rgb(110, 127, 23) |
| HSL | hsl(70, 69%, 29%) |
| HSV | hsv(70, 82%, 50%) |
| CMYK | cmyk(13.4%, 0%, 81.9%, 50.2%) |
| CIE-LAB | lab(50.16, -20.03, 49.62) |
| CIE-LCH | lch(50.16, 53.51, 111.99°) |
| OKLab | oklab(56.35% -0.0601 0.1083) |
| OKLCH | oklch(56.35% 0.124 119) |
| XYZ | xyz(14.1748, 18.5557, 3.6453) |
| Luminance | 0.1856 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 1.96
Poop Green
#6F7C00
ΔE00 2.15
Olive Green
#677A04
ΔE00 2.28
Shit Green
#758000
ΔE00 2.76
Swamp Green
#748500
ΔE00 3.07
Dirty Green
#667E2C
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E7F17 #28177F
analogous
#7F5C17 #6E7F17 #3A7F17
triadic
#6E7F17 #176E7F #7F176E
tetradic
#6E7F17 #177F5C #28177F #7F173A
square
#6E7F17 #177F5C #28177F #7F173A
split-complementary
#6E7F17 #173A7F #5C177F
monochromatic
#161A05 #414B0E #6E7F17 #9BB320 #C0DB36
Accessibility & contrast
On white
4.46
#6E7F17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#6E7F17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6E7F17
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E7F17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6E7F17 | 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: #6e7f17; /* rgb */ color: rgb(110, 127, 23); /* oklch */ color: oklch(56.4% 0.124 119.0);
Tailwind
colors: {
custom: {
50: '#9ba45f',
500: '#6e7f17',
950: '#000000',
},
}SCSS
$custom: #6e7f17; $custom-light: #9ba45f; $custom-dark: #000000;
JSON
{
"hex": "#6e7f17",
"rgb": {
"r": 110,
"g": 127,
"b": 23
},
"hsl": {
"h": 69.808,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.56354,
"c": 0.1239,
"h": 119
},
"luminance": 0.18556
}Semantic roles & 50–950 ramp
primary
#6E7F17
secondary
#513EB4
accent
#3CEC59
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0E0F05
muted
#7E7F79