#2A6F1E#2A6F1E
#2A6F1E is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.134 H 140.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6F1E |
|---|---|
| RGB | rgb(42, 111, 30) |
| HSL | hsl(111, 57%, 28%) |
| HSV | hsv(111, 73%, 44%) |
| CMYK | cmyk(62.2%, 0%, 73%, 56.5%) |
| CIE-LAB | lab(41.14, -38.00, 36.98) |
| CIE-LCH | lch(41.14, 53.02, 135.78°) |
| OKLab | oklab(48% -0.1039 0.0844) |
| OKLCH | oklch(48% 0.134 140.9) |
| XYZ | xyz(6.8733, 11.9542, 3.1732) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.73
Tree Green
#2A7E19
ΔE00 5.45
Darkish Green
#287C37
ΔE00 5.50
Green
#008000
ΔE00 6.84
Dark Grass Green
#388004
ΔE00 7.32
Deep Green
#02590F
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6F1E #631E6F
analogous
#536F1E #2A6F1E #1E6F3A
triadic
#2A6F1E #1E2A6F #6F1E2A
tetradic
#2A6F1E #1E536F #631E6F #6F3A1E
square
#2A6F1E #1E536F #631E6F #6F3A1E
split-complementary
#2A6F1E #3A1E6F #6F1E53
monochromatic
#091807 #183F11 #2A6F1E #3C9F2B #52CB3D
Accessibility & contrast
On white
6.19
#2A6F1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#2A6F1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6F1E
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6F1E | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726512
Deuteranopia (green-blind)
#695F26
Tritanopia (blue-blind)
#206B5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2a6f1e; /* rgb */ color: rgb(42, 111, 30); /* oklch */ color: oklch(48.0% 0.134 140.9);
Tailwind
colors: {
custom: {
50: '#6c995f',
500: '#2a6f1e',
950: '#000000',
},
}SCSS
$custom: #2a6f1e; $custom-light: #6c995f; $custom-dark: #000000;
JSON
{
"hex": "#2a6f1e",
"rgb": {
"r": 42,
"g": 111,
"b": 30
},
"hsl": {
"h": 111.111,
"s": 57.447,
"l": 27.647
},
"oklch": {
"l": 0.48001,
"c": 0.13388,
"h": 140.9
},
"luminance": 0.11955
}Semantic roles & 50–950 ramp
primary
#2A6F1E
secondary
#9546A3
accent
#47E1CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79