#6D7F12#6D7F12
#6D7F12 is a mid, vivid yellow. Relative luminance 0.185; OKLCH L 56.3% C 0.127 H 119.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #6D7F12 |
|---|---|
| RGB | rgb(109, 127, 18) |
| HSL | hsl(70, 75%, 28%) |
| HSV | hsv(70, 86%, 50%) |
| CMYK | cmyk(14.2%, 0%, 85.8%, 50.2%) |
| CIE-LAB | lab(50.07, -20.67, 50.93) |
| CIE-LCH | lch(50.07, 54.96, 112.09°) |
| OKLab | oklab(56.25% -0.0622 0.1103) |
| OKLCH | oklch(56.25% 0.127 119.4) |
| XYZ | xyz(14.0055, 18.4737, 3.4001) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 1.94
Poop Green
#6F7C00
ΔE00 2.00
Olive Green
#677A04
ΔE00 2.07
Shit Green
#758000
ΔE00 2.67
Swamp Green
#748500
ΔE00 2.92
Dirty Green
#667E2C
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D7F12 #24127F
analogous
#7F5A12 #6D7F12 #367F12
triadic
#6D7F12 #126D7F #7F126D
tetradic
#6D7F12 #127F5A #24127F #7F1236
square
#6D7F12 #127F5A #24127F #7F1236
split-complementary
#6D7F12 #12367F #5A127F
monochromatic
#171B04 #3F490A #6D7F12 #9BB51A #C3E12B
Accessibility & contrast
On white
4.47
#6D7F12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#6D7F12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6D7F12
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D7F12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6D7F12 | 1.00 | 4.47 | 4.69 | 4.69 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#86771E
Tritanopia (blue-blind)
#74786C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #6d7f12; /* rgb */ color: rgb(109, 127, 18); /* oklch */ color: oklch(56.3% 0.127 119.4);
Tailwind
colors: {
custom: {
50: '#9aa45d',
500: '#6d7f12',
950: '#000000',
},
}SCSS
$custom: #6d7f12; $custom-light: #9aa45d; $custom-dark: #000000;
JSON
{
"hex": "#6d7f12",
"rgb": {
"r": 109,
"g": 127,
"b": 18
},
"hsl": {
"h": 69.908,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.5625,
"c": 0.12661,
"h": 119.4
},
"luminance": 0.18474
}Semantic roles & 50–950 ramp
primary
#6D7F12
secondary
#4D38B5
accent
#36F255
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79