#6C7D12#6C7D12
#6C7D12 is a mid, vivid yellow. Relative luminance 0.179; OKLCH L 55.7% C 0.125 H 119.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #6C7D12 |
|---|---|
| RGB | rgb(108, 125, 18) |
| HSL | hsl(70, 75%, 28%) |
| HSV | hsv(70, 86%, 49%) |
| CMYK | cmyk(13.6%, 0%, 85.6%, 51%) |
| CIE-LAB | lab(49.37, -20.09, 50.30) |
| CIE-LCH | lch(49.37, 54.16, 111.77°) |
| OKLab | oklab(55.67% -0.0605 0.109) |
| OKLCH | oklch(55.67% 0.125 119) |
| XYZ | xyz(13.6275, 17.8991, 3.3091) |
| Luminance | 0.1790 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 1.24
Olive Green
#677A04
ΔE00 1.48
Poop Green
#6F7C00
ΔE00 1.76
Shit Green
#758000
ΔE00 2.92
Olive (survey)
#6E750E
ΔE00 3.56
Swamp Green
#748500
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C7D12 #23127D
analogous
#7D5812 #6C7D12 #367D12
triadic
#6C7D12 #126C7D #7D126C
tetradic
#6C7D12 #127D58 #23127D #7D1236
square
#6C7D12 #127D58 #23127D #7D1236
split-complementary
#6C7D12 #12367D #58127D
monochromatic
#171B04 #3E480A #6C7D12 #9AB21A #C3E029
Accessibility & contrast
On white
4.59
#6C7D12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#6C7D12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6C7D12
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C7D12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C7D12 | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#84761E
Tritanopia (blue-blind)
#73766A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #6c7d12; /* rgb */ color: rgb(108, 125, 18); /* oklch */ color: oklch(55.7% 0.125 119.0);
Tailwind
colors: {
custom: {
50: '#99a25c',
500: '#6c7d12',
950: '#000000',
},
}SCSS
$custom: #6c7d12; $custom-light: #99a25c; $custom-dark: #000000;
JSON
{
"hex": "#6c7d12",
"rgb": {
"r": 108,
"g": 125,
"b": 18
},
"hsl": {
"h": 69.533,
"s": 74.825,
"l": 28.039
},
"oklch": {
"l": 0.55673,
"c": 0.12466,
"h": 119
},
"luminance": 0.17899
}Semantic roles & 50–950 ramp
primary
#6C7D12
secondary
#4B38B3
accent
#36F154
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79