#2A7E10#2A7E10
#2A7E10 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.160 H 140.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7E10 |
|---|---|
| RGB | rgb(42, 126, 16) |
| HSL | hsl(106, 77%, 28%) |
| HSV | hsv(106, 87%, 49%) |
| CMYK | cmyk(66.7%, 0%, 87.3%, 50.6%) |
| CIE-LAB | lab(46.25, -44.63, 46.75) |
| CIE-LCH | lch(46.25, 64.63, 133.67°) |
| OKLab | oklab(52.2% -0.1226 0.1028) |
| OKLCH | oklch(52.2% 0.16 140) |
| XYZ | xyz(8.5088, 15.4505, 3.0240) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.89
Green
#008000
ΔE00 2.13
Dark Grass Green
#388004
ΔE00 2.22
Forestgreen (CSS)
#228B22
ΔE00 4.80
Darkish Green
#287C37
ΔE00 5.92
Emerald Green
#028F1E
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7E10 #64107E
analogous
#617E10 #2A7E10 #107E2D
triadic
#2A7E10 #102A7E #7E102A
tetradic
#2A7E10 #10617E #64107E #7E2D10
square
#2A7E10 #10617E #64107E #7E2D10
split-complementary
#2A7E10 #2D107E #7E1061
monochromatic
#091B03 #184809 #2A7E10 #3CB417 #52E325
Accessibility & contrast
On white
5.13
#2A7E10 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#2A7E10 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7E10
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7E10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7E10 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B1F
Tritanopia (blue-blind)
#1D7A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2a7e10; /* rgb */ color: rgb(42, 126, 16); /* oklch */ color: oklch(52.2% 0.160 140.0);
Tailwind
colors: {
custom: {
50: '#70a45b',
500: '#2a7e10',
950: '#000000',
},
}SCSS
$custom: #2a7e10; $custom-light: #70a45b; $custom-dark: #000000;
JSON
{
"hex": "#2a7e10",
"rgb": {
"r": 42,
"g": 126,
"b": 16
},
"hsl": {
"h": 105.818,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.52197,
"c": 0.15996,
"h": 140
},
"luminance": 0.15451
}Semantic roles & 50–950 ramp
primary
#2A7E10
secondary
#9636B4
accent
#34F4C7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79