#2A862F#2A862F
#2A862F is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.151 H 143.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A862F |
|---|---|
| RGB | rgb(42, 134, 47) |
| HSL | hsl(123, 52%, 35%) |
| HSV | hsv(123, 69%, 53%) |
| CMYK | cmyk(68.7%, 0%, 64.9%, 47.5%) |
| CIE-LAB | lab(49.19, -45.00, 38.07) |
| CIE-LCH | lch(49.19, 58.94, 139.77°) |
| OKLab | oklab(54.7% -0.1219 0.0888) |
| OKLCH | oklch(54.7% 0.151 143.9) |
| XYZ | xyz(9.9924, 17.7466, 5.5876) |
| Luminance | 0.1775 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.70
Tree Green
#2A7E19
ΔE00 3.75
Emerald Green
#028F1E
ΔE00 4.11
Darkish Green
#287C37
ΔE00 4.39
Green
#008000
ΔE00 4.75
Kelley Green
#009337
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A862F #862A81
analogous
#53862A #2A862F #2A865D
triadic
#2A862F #2F2A86 #862F2A
tetradic
#2A862F #2A5386 #862A81 #865D2A
square
#2A862F #2A5386 #862A81 #865D2A
split-complementary
#2A862F #5D2A86 #862A53
monochromatic
#0D290E #1B571F #2A862F #39B53F #5ECD64
Accessibility & contrast
On white
4.62
#2A862F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#2A862F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2A862F
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A862F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A862F | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#118274
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2a862f; /* rgb */ color: rgb(42, 134, 47); /* oklch */ color: oklch(54.7% 0.151 143.9);
Tailwind
colors: {
custom: {
50: '#71aa6b',
500: '#2a862f',
950: '#000000',
},
}SCSS
$custom: #2a862f; $custom-light: #71aa6b; $custom-dark: #000000;
JSON
{
"hex": "#2a862f",
"rgb": {
"r": 42,
"g": 134,
"b": 47
},
"hsl": {
"h": 123.261,
"s": 52.273,
"l": 34.51
},
"oklch": {
"l": 0.54702,
"c": 0.15082,
"h": 143.9
},
"luminance": 0.17748
}Semantic roles & 50–950 ramp
primary
#2A862F
secondary
#B25AAD
accent
#4CD4DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A