#2A701F#2A701F
#2A701F is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.134 H 141.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2A701F |
|---|---|
| RGB | rgb(42, 112, 31) |
| HSL | hsl(112, 57%, 28%) |
| HSV | hsv(112, 72%, 44%) |
| CMYK | cmyk(62.5%, 0%, 72.3%, 56.1%) |
| CIE-LAB | lab(41.50, -38.30, 36.92) |
| CIE-LCH | lch(41.50, 53.19, 136.05°) |
| OKLab | oklab(48.3% -0.1047 0.0844) |
| OKLCH | oklch(48.3% 0.134 141.1) |
| XYZ | xyz(6.9960, 12.1789, 3.2781) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.00
Tree Green
#2A7E19
ΔE00 5.16
Darkish Green
#287C37
ΔE00 5.19
Green
#008000
ΔE00 6.58
Dark Grass Green
#388004
ΔE00 7.10
Deep Green
#02590F
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A701F #651F70
analogous
#52701F #2A701F #1F703C
triadic
#2A701F #1F2A70 #701F2A
tetradic
#2A701F #1F5270 #651F70 #703C1F
square
#2A701F #1F5270 #651F70 #703C1F
split-complementary
#2A701F #3C1F70 #701F52
monochromatic
#091807 #184012 #2A701F #3CA02C #52CA3F
Accessibility & contrast
On white
6.11
#2A701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#2A701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A701F
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A701F | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736513
Deuteranopia (green-blind)
#6A6027
Tritanopia (blue-blind)
#206C60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2a701f; /* rgb */ color: rgb(42, 112, 31); /* oklch */ color: oklch(48.3% 0.134 141.1);
Tailwind
colors: {
custom: {
50: '#6d9a5f',
500: '#2a701f',
950: '#000000',
},
}SCSS
$custom: #2a701f; $custom-light: #6d9a5f; $custom-dark: #000000;
JSON
{
"hex": "#2a701f",
"rgb": {
"r": 42,
"g": 112,
"b": 31
},
"hsl": {
"h": 111.852,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.48298,
"c": 0.13448,
"h": 141.1
},
"luminance": 0.1218
}Semantic roles & 50–950 ramp
primary
#2A701F
secondary
#9747A4
accent
#48E0CB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79