#6C822F#6C822F
#6C822F is a mid, moderate yellow-green. Relative luminance 0.194; OKLCH L 57.1% C 0.112 H 122.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6C822F |
|---|---|
| RGB | rgb(108, 130, 47) |
| HSL | hsl(76, 47%, 35%) |
| HSV | hsv(76, 64%, 51%) |
| CMYK | cmyk(16.9%, 0%, 63.8%, 49%) |
| CIE-LAB | lab(51.10, -20.97, 41.09) |
| CIE-LCH | lch(51.10, 46.13, 117.04°) |
| OKLab | oklab(57.13% -0.0603 0.0944) |
| OKLCH | oklch(57.13% 0.112 122.6) |
| XYZ | xyz(14.6802, 19.3586, 5.6520) |
| Luminance | 0.1936 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 1.78
Khaki Green
#728639
ΔE00 2.01
Swamp
#698339
ΔE00 2.15
Moss Green (survey)
#658B38
ΔE00 4.40
Mossy Green
#638B27
ΔE00 4.40
Military Green
#667C3E
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C822F #452F82
analogous
#826F2F #6C822F #42822F
triadic
#6C822F #2F6C82 #822F6C
tetradic
#6C822F #2F826F #452F82 #822F42
square
#6C822F #2F826F #452F82 #822F42
split-complementary
#6C822F #2F4282 #6F2F82
monochromatic
#21280E #47551F #6C822F #91AF3F #ADC764
Accessibility & contrast
On white
4.31
#6C822F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#6C822F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6C822F
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C822F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6C822F | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#717C71
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #6c822f; /* rgb */ color: rgb(108, 130, 47); /* oklch */ color: oklch(57.1% 0.112 122.6);
Tailwind
colors: {
custom: {
50: '#98a66b',
500: '#6c822f',
950: '#000000',
},
}SCSS
$custom: #6c822f; $custom-light: #98a66b; $custom-dark: #000000;
JSON
{
"hex": "#6c822f",
"rgb": {
"r": 108,
"g": 130,
"b": 47
},
"hsl": {
"h": 75.904,
"s": 46.893,
"l": 34.706
},
"oklch": {
"l": 0.57128,
"c": 0.11205,
"h": 122.6
},
"luminance": 0.19359
}Semantic roles & 50–950 ramp
primary
#6C822F
secondary
#745FAE
accent
#51D775
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A