#6CA81F#6CA81F
#6CA81F is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.6% C 0.172 H 131.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #6CA81F |
|---|---|
| RGB | rgb(108, 168, 31) |
| HSL | hsl(86, 69%, 39%) |
| HSV | hsv(86, 82%, 66%) |
| CMYK | cmyk(35.7%, 0%, 81.5%, 34.1%) |
| CIE-LAB | lab(62.75, -39.92, 58.59) |
| CIE-LCH | lch(62.75, 70.90, 124.27°) |
| OKLab | oklab(66.55% -0.1134 0.1287) |
| OKLCH | oklch(66.55% 0.172 131.4) |
| XYZ | xyz(20.4341, 31.2915, 6.2593) |
| Luminance | 0.3129 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 1.93
Leaf Green
#5CA904
ΔE00 2.20
Grass
#5CAC2D
ΔE00 3.34
Kermit Green
#5CB200
ΔE00 3.74
Lawn Green
#4DA409
ΔE00 3.99
Nasty Green
#70B23F
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6CA81F #5B1FA8
analogous
#A8A01F #6CA81F #28A81F
triadic
#6CA81F #1F6CA8 #A81F6C
tetradic
#6CA81F #1FA8A0 #5B1FA8 #A81F28
square
#6CA81F #1FA8A0 #5B1FA8 #A81F28
split-complementary
#6CA81F #1F28A8 #A01FA8
monochromatic
#2A410C #4B7415 #6CA81F #8DD82C #A9E260
Accessibility & contrast
On white
2.89
#6CA81F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#6CA81F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #6CA81F
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6CA81F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6CA81F | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#6EA18F
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #6ca81f; /* rgb */ color: rgb(108, 168, 31); /* oklch */ color: oklch(66.6% 0.172 131.4);
Tailwind
colors: {
custom: {
50: '#9bc268',
500: '#6ca81f',
950: '#000000',
},
}SCSS
$custom: #6ca81f; $custom-light: #9bc268; $custom-dark: #000000;
JSON
{
"hex": "#6ca81f",
"rgb": {
"r": 108,
"g": 168,
"b": 31
},
"hsl": {
"h": 86.277,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.66552,
"c": 0.17159,
"h": 131.4
},
"luminance": 0.31292
}Semantic roles & 50–950 ramp
primary
#6CA81F
secondary
#8B5DC6
accent
#3CEC89
background
#FAFBF6
surface
#F3F7EB
border
#CDD0C6
text
#0F1207
muted
#7F817A