#6E7F18#6E7F18
#6E7F18 is a mid, vivid yellow. Relative luminance 0.186; OKLCH L 56.4% C 0.123 H 119.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6E7F18 |
|---|---|
| RGB | rgb(110, 127, 24) |
| HSL | hsl(70, 68%, 30%) |
| HSV | hsv(70, 81%, 50%) |
| CMYK | cmyk(13.4%, 0%, 81.1%, 50.2%) |
| CIE-LAB | lab(50.17, -19.99, 49.31) |
| CIE-LCH | lch(50.17, 53.21, 112.07°) |
| OKLab | oklab(56.36% -0.0599 0.1079) |
| OKLCH | oklch(56.36% 0.123 119.1) |
| XYZ | xyz(14.1850, 18.5598, 3.6991) |
| Luminance | 0.1856 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 1.99
Poop Green
#6F7C00
ΔE00 2.23
Olive Green
#677A04
ΔE00 2.31
Shit Green
#758000
ΔE00 2.84
Swamp Green
#748500
ΔE00 3.13
Dirty Green
#667E2C
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E7F18 #29187F
analogous
#7F5D18 #6E7F18 #3B7F18
triadic
#6E7F18 #186E7F #7F186E
tetradic
#6E7F18 #187F5D #29187F #7F183B
square
#6E7F18 #187F5D #29187F #7F183B
split-complementary
#6E7F18 #183B7F #5D187F
monochromatic
#161A05 #414C0E #6E7F18 #9BB222 #BFD938
Accessibility & contrast
On white
4.46
#6E7F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#6E7F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6E7F18
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E7F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6E7F18 | 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)
#867822
Tritanopia (blue-blind)
#75786C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #6e7f18; /* rgb */ color: rgb(110, 127, 24); /* oklch */ color: oklch(56.4% 0.123 119.1);
Tailwind
colors: {
custom: {
50: '#9ba45f',
500: '#6e7f18',
950: '#000000',
},
}SCSS
$custom: #6e7f18; $custom-light: #9ba45f; $custom-dark: #000000;
JSON
{
"hex": "#6e7f18",
"rgb": {
"r": 110,
"g": 127,
"b": 24
},
"hsl": {
"h": 69.903,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.5636,
"c": 0.1234,
"h": 119.1
},
"luminance": 0.1856
}Semantic roles & 50–950 ramp
primary
#6E7F18
secondary
#533FB3
accent
#3DEB5A
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79