#6E7F12#6E7F12
#6E7F12 is a mid, vivid yellow. Relative luminance 0.185; OKLCH L 56.3% C 0.126 H 118.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6E7F12 |
|---|---|
| RGB | rgb(110, 127, 18) |
| HSL | hsl(69, 75%, 28%) |
| HSV | hsv(69, 86%, 50%) |
| CMYK | cmyk(13.4%, 0%, 85.8%, 50.2%) |
| CIE-LAB | lab(50.14, -20.22, 51.02) |
| CIE-LCH | lch(50.14, 54.88, 111.62°) |
| OKLab | oklab(56.33% -0.061 0.1105) |
| OKLCH | oklch(56.33% 0.126 118.9) |
| XYZ | xyz(14.1293, 18.5375, 3.4059) |
| Luminance | 0.1854 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Poop Green
#6F7C00
ΔE00 1.82
Murky Green
#6C7A0E
ΔE00 1.88
Olive Green
#677A04
ΔE00 2.17
Shit Green
#758000
ΔE00 2.43
Swamp Green
#748500
ΔE00 2.80
Olive (survey)
#6E750E
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E7F12 #23127F
analogous
#7F5912 #6E7F12 #377F12
triadic
#6E7F12 #126E7F #7F126E
tetradic
#6E7F12 #127F59 #23127F #7F1237
square
#6E7F12 #127F59 #23127F #7F1237
split-complementary
#6E7F12 #12377F #59127F
monochromatic
#171B04 #40490A #6E7F12 #9CB51A #C4E12B
Accessibility & contrast
On white
4.46
#6E7F12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#6E7F12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6E7F12
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E7F12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6E7F12 | 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)
#86781E
Tritanopia (blue-blind)
#75786C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #6e7f12; /* rgb */ color: rgb(110, 127, 18); /* oklch */ color: oklch(56.3% 0.126 118.9);
Tailwind
colors: {
custom: {
50: '#9ba45d',
500: '#6e7f12',
950: '#000000',
},
}SCSS
$custom: #6e7f12; $custom-light: #9ba45d; $custom-dark: #000000;
JSON
{
"hex": "#6e7f12",
"rgb": {
"r": 110,
"g": 127,
"b": 18
},
"hsl": {
"h": 69.358,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.5633,
"c": 0.12618,
"h": 118.9
},
"luminance": 0.18537
}Semantic roles & 50–950 ramp
primary
#6E7F12
secondary
#4C38B5
accent
#36F253
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0F0F05
muted
#7E7F79