#2A6F2D#2A6F2D
#2A6F2D is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.121 H 144.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6F2D |
|---|---|
| RGB | rgb(42, 111, 45) |
| HSL | hsl(123, 45%, 30%) |
| HSV | hsv(123, 62%, 44%) |
| CMYK | cmyk(62.2%, 0%, 59.5%, 56.5%) |
| CIE-LAB | lab(41.30, -36.26, 29.98) |
| CIE-LCH | lch(41.30, 47.05, 140.42°) |
| OKLab | oklab(48.18% -0.0984 0.0712) |
| OKLCH | oklch(48.18% 0.121 144.1) |
| XYZ | xyz(7.1125, 12.0499, 4.4332) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.51
Darkgreen
#006400
ΔE00 6.18
Tree Green
#2A7E19
ΔE00 6.85
Forest Green
#2D5A27
ΔE00 7.29
Jungle Green
#048243
ΔE00 7.38
Pine
#2B5D34
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6F2D #6F2A6C
analogous
#496F2A #2A6F2D #2A6F50
triadic
#2A6F2D #2D2A6F #6F2D2A
tetradic
#2A6F2D #2A496F #6F2A6C #6F502A
square
#2A6F2D #2A496F #6F2A6C #6F502A
split-complementary
#2A6F2D #502A6F #6F2A49
monochromatic
#081609 #19431B #2A6F2D #3B9B3F #55BF59
Accessibility & contrast
On white
6.16
#2A6F2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#2A6F2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6F2D
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6F2D | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716527
Deuteranopia (green-blind)
#685F32
Tritanopia (blue-blind)
#1D6C60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2a6f2d; /* rgb */ color: rgb(42, 111, 45); /* oklch */ color: oklch(48.2% 0.121 144.1);
Tailwind
colors: {
custom: {
50: '#6c9968',
500: '#2a6f2d',
950: '#000000',
},
}SCSS
$custom: #2a6f2d; $custom-light: #6c9968; $custom-dark: #000000;
JSON
{
"hex": "#2a6f2d",
"rgb": {
"r": 42,
"g": 111,
"b": 45
},
"hsl": {
"h": 122.609,
"s": 45.098,
"l": 30
},
"oklch": {
"l": 0.48176,
"c": 0.12142,
"h": 144.1
},
"luminance": 0.12051
}Semantic roles & 50–950 ramp
primary
#2A6F2D
secondary
#A1549E
accent
#53CFD5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A