#6D7C18#6D7C18
#6D7C18 is a mid, vivid yellow. Relative luminance 0.177; OKLCH L 55.5% C 0.120 H 118.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #6D7C18 |
|---|---|
| RGB | rgb(109, 124, 24) |
| HSL | hsl(69, 68%, 29%) |
| HSV | hsv(69, 81%, 49%) |
| CMYK | cmyk(12.1%, 0%, 80.6%, 51.4%) |
| CIE-LAB | lab(49.17, -18.88, 48.37) |
| CIE-LCH | lch(49.17, 51.93, 111.32°) |
| OKLab | oklab(55.54% -0.0568 0.1059) |
| OKLCH | oklch(55.54% 0.12 118.2) |
| XYZ | xyz(13.6795, 17.7326, 3.5661) |
| Luminance | 0.1773 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 1.08
Olive Green
#677A04
ΔE00 1.75
Poop Green
#6F7C00
ΔE00 1.98
Olive (survey)
#6E750E
ΔE00 3.14
Shit Green
#758000
ΔE00 3.18
Dirty Green
#667E2C
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D7C18 #27187C
analogous
#7C5918 #6D7C18 #3B7C18
triadic
#6D7C18 #186D7C #7C186D
tetradic
#6D7C18 #187C59 #27187C #7C183B
square
#6D7C18 #187C59 #27187C #7C183B
split-complementary
#6D7C18 #183B7C #59187C
monochromatic
#171A05 #40490E #6D7C18 #9AAF22 #C0D836
Accessibility & contrast
On white
4.62
#6D7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#6D7C18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6D7C18
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D7C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D7C18 | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#74756A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #6d7c18; /* rgb */ color: rgb(109, 124, 24); /* oklch */ color: oklch(55.5% 0.120 118.2);
Tailwind
colors: {
custom: {
50: '#9aa15f',
500: '#6d7c18',
950: '#000000',
},
}SCSS
$custom: #6d7c18; $custom-light: #9aa15f; $custom-dark: #000000;
JSON
{
"hex": "#6d7c18",
"rgb": {
"r": 109,
"g": 124,
"b": 24
},
"hsl": {
"h": 69,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.55537,
"c": 0.12019,
"h": 118.2
},
"luminance": 0.17732
}Semantic roles & 50–950 ramp
primary
#6D7C18
secondary
#503FB1
accent
#3DEA57
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79