#6C7A14#6C7A14
#6C7A14 is a mid, vivid yellow. Relative luminance 0.172; OKLCH L 54.9% C 0.120 H 117.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #6C7A14 |
|---|---|
| RGB | rgb(108, 122, 20) |
| HSL | hsl(68, 72%, 28%) |
| HSV | hsv(68, 84%, 48%) |
| CMYK | cmyk(11.5%, 0%, 83.6%, 52.2%) |
| CIE-LAB | lab(48.46, -18.45, 48.94) |
| CIE-LCH | lch(48.46, 52.30, 110.65°) |
| OKLab | oklab(54.94% -0.0559 0.1064) |
| OKLCH | oklch(54.94% 0.12 117.7) |
| XYZ | xyz(13.2705, 17.1579, 3.2744) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 0.50
Olive Green
#677A04
ΔE00 1.46
Poop Green
#6F7C00
ΔE00 1.85
Olive (survey)
#6E750E
ΔE00 2.44
Shit Green
#758000
ΔE00 3.39
Dirty Green
#667E2C
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C7A14 #22147A
analogous
#7A5514 #6C7A14 #397A14
triadic
#6C7A14 #146C7A #7A146C
tetradic
#6C7A14 #147A55 #22147A #7A1439
square
#6C7A14 #147A55 #22147A #7A1439
split-complementary
#6C7A14 #14397A #55147A
monochromatic
#171A04 #3D450B #6C7A14 #9BAF1D #C4DC2C
Accessibility & contrast
On white
4.74
#6C7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#6C7A14 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C7A14
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C7A14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C7A14 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#81741F
Tritanopia (blue-blind)
#737368
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6c7a14; /* rgb */ color: rgb(108, 122, 20); /* oklch */ color: oklch(54.9% 0.120 117.7);
Tailwind
colors: {
custom: {
50: '#99a05d',
500: '#6c7a14',
950: '#000000',
},
}SCSS
$custom: #6c7a14; $custom-light: #99a05d; $custom-dark: #000000;
JSON
{
"hex": "#6c7a14",
"rgb": {
"r": 108,
"g": 122,
"b": 20
},
"hsl": {
"h": 68.235,
"s": 71.831,
"l": 27.843
},
"oklch": {
"l": 0.54938,
"c": 0.12021,
"h": 117.7
},
"luminance": 0.17158
}Semantic roles & 50–950 ramp
primary
#6C7A14
secondary
#4A3AB0
accent
#39EF52
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79