#6D7918#6D7918
#6D7918 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 54.8% C 0.117 H 116.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #6D7918 |
|---|---|
| RGB | rgb(109, 121, 24) |
| HSL | hsl(67, 67%, 28%) |
| HSV | hsv(67, 80%, 47%) |
| CMYK | cmyk(9.9%, 0%, 80.2%, 52.5%) |
| CIE-LAB | lab(48.25, -17.30, 47.53) |
| CIE-LCH | lch(48.25, 50.58, 110.00°) |
| OKLab | oklab(54.8% -0.0525 0.1041) |
| OKLCH | oklch(54.8% 0.117 116.7) |
| XYZ | xyz(13.3093, 16.9921, 3.4427) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 1.00
Olive Green
#677A04
ΔE00 2.03
Olive (survey)
#6E750E
ΔE00 2.04
Poop Green
#6F7C00
ΔE00 2.24
Shit Green
#758000
ΔE00 3.70
Olive Drab
#6F7632
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D7918 #241879
analogous
#795418 #6D7918 #3C7918
triadic
#6D7918 #186D79 #79186D
tetradic
#6D7918 #187954 #241879 #79183C
square
#6D7918 #187954 #241879 #79183C
split-complementary
#6D7918 #183C79 #541879
monochromatic
#171A05 #3F460E #6D7918 #9BAC22 #C3D735
Accessibility & contrast
On white
4.77
#6D7918 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#6D7918 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D7918
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D7918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D7918 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#747267
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6d7918; /* rgb */ color: rgb(109, 121, 24); /* oklch */ color: oklch(54.8% 0.117 116.7);
Tailwind
colors: {
custom: {
50: '#9a9f5e',
500: '#6d7918',
950: '#000000',
},
}SCSS
$custom: #6d7918; $custom-light: #9a9f5e; $custom-dark: #000000;
JSON
{
"hex": "#6d7918",
"rgb": {
"r": 109,
"g": 121,
"b": 24
},
"hsl": {
"h": 67.423,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.54797,
"c": 0.11661,
"h": 116.7
},
"luminance": 0.16992
}Semantic roles & 50–950 ramp
primary
#6D7918
secondary
#4D3FAE
accent
#3EEA53
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79