#2A7F13#2A7F13
#2A7F13 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.160 H 140.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7F13 |
|---|---|
| RGB | rgb(42, 127, 19) |
| HSL | hsl(107, 74%, 29%) |
| HSV | hsv(107, 85%, 50%) |
| CMYK | cmyk(66.9%, 0%, 85%, 50.2%) |
| CIE-LAB | lab(46.60, -44.83, 46.26) |
| CIE-LCH | lch(46.60, 64.42, 134.10°) |
| OKLab | oklab(52.5% -0.123 0.1022) |
| OKLCH | oklch(52.5% 0.16 140.3) |
| XYZ | xyz(8.6613, 15.7171, 3.1932) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.76
Green
#008000
ΔE00 2.10
Dark Grass Green
#388004
ΔE00 2.28
Forestgreen (CSS)
#228B22
ΔE00 4.41
Darkish Green
#287C37
ΔE00 5.77
Emerald Green
#028F1E
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7F13 #68137F
analogous
#607F13 #2A7F13 #137F32
triadic
#2A7F13 #132A7F #7F132A
tetradic
#2A7F13 #13607F #68137F #7F3213
square
#2A7F13 #13607F #68137F #7F3213
split-complementary
#2A7F13 #32137F #7F1360
monochromatic
#091B04 #184A0B #2A7F13 #3CB41B #53E02D
Accessibility & contrast
On white
5.07
#2A7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#2A7F13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7F13
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7F13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7F13 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#1C7B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2a7f13; /* rgb */ color: rgb(42, 127, 19); /* oklch */ color: oklch(52.5% 0.160 140.3);
Tailwind
colors: {
custom: {
50: '#70a55c',
500: '#2a7f13',
950: '#000000',
},
}SCSS
$custom: #2a7f13; $custom-light: #70a55c; $custom-dark: #000000;
JSON
{
"hex": "#2a7f13",
"rgb": {
"r": 42,
"g": 127,
"b": 19
},
"hsl": {
"h": 107.222,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.52496,
"c": 0.15989,
"h": 140.3
},
"luminance": 0.15718
}Semantic roles & 50–950 ramp
primary
#2A7F13
secondary
#9A39B4
accent
#37F1C9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79