#6FA42C#6FA42C
#6FA42C is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 65.8% C 0.158 H 130.7°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #6FA42C |
|---|---|
| RGB | rgb(111, 164, 44) |
| HSL | hsl(87, 58%, 41%) |
| HSV | hsv(87, 73%, 64%) |
| CMYK | cmyk(32.3%, 0%, 73.2%, 35.7%) |
| CIE-LAB | lab(61.75, -36.33, 53.46) |
| CIE-LCH | lch(61.75, 64.63, 124.20°) |
| OKLab | oklab(65.8% -0.103 0.1199) |
| OKLCH | oklch(65.8% 0.158 130.7) |
| XYZ | xyz(20.2855, 30.1116, 7.1257) |
| Luminance | 0.3011 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 1.88
Leaf Green
#5CA904
ΔE00 3.54
Grass
#5CAC2D
ΔE00 3.91
Nasty Green
#70B23F
ΔE00 4.45
Lawn Green
#4DA409
ΔE00 4.46
Avocado Green
#87A922
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6FA42C #612CA4
analogous
#A49D2C #6FA42C #33A42C
triadic
#6FA42C #2C6FA4 #A42C6F
tetradic
#6FA42C #2CA49D #612CA4 #A42C33
square
#6FA42C #2CA49D #612CA4 #A42C33
split-complementary
#6FA42C #2C33A4 #9D2CA4
monochromatic
#2E4312 #4E741F #6FA42C #8FCC41 #ABD971
Accessibility & contrast
On white
2.99
#6FA42C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#6FA42C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #6FA42C
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6FA42C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6FA42C | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9816
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#719D8D
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #6fa42c; /* rgb */ color: rgb(111, 164, 44); /* oklch */ color: oklch(65.8% 0.158 130.7);
Tailwind
colors: {
custom: {
50: '#9dbf6d',
500: '#6fa42c',
950: '#000000',
},
}SCSS
$custom: #6fa42c; $custom-light: #9dbf6d; $custom-dark: #000000;
JSON
{
"hex": "#6fa42c",
"rgb": {
"r": 111,
"g": 164,
"b": 44
},
"hsl": {
"h": 86.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.658,
"c": 0.15808,
"h": 130.7
},
"luminance": 0.30112
}Semantic roles & 50–950 ramp
primary
#6FA42C
secondary
#916BC0
accent
#47E18B
background
#FAFBF6
surface
#F3F7EC
border
#CDD0C7
text
#0F1207
muted
#7F817A