#2A762F#2A762F
#2A762F is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.129 H 144.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2A762F |
|---|---|
| RGB | rgb(42, 118, 47) |
| HSL | hsl(124, 48%, 31%) |
| HSV | hsv(124, 64%, 46%) |
| CMYK | cmyk(64.4%, 0%, 60.2%, 53.7%) |
| CIE-LAB | lab(43.73, -38.84, 31.82) |
| CIE-LCH | lch(43.73, 50.21, 140.67°) |
| OKLab | oklab(50.19% -0.1053 0.0753) |
| OKLCH | oklch(50.19% 0.129 144.4) |
| XYZ | xyz(7.9459, 13.6536, 4.9054) |
| Luminance | 0.1365 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.29
Tree Green
#2A7E19
ΔE00 4.93
Jungle Green
#048243
ΔE00 5.58
Green
#008000
ΔE00 6.61
Dark Grass Green
#388004
ΔE00 7.45
Darkgreen
#006400
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A762F #762A71
analogous
#4B762A #2A762F #2A7655
triadic
#2A762F #2F2A76 #762F2A
tetradic
#2A762F #2A4B76 #762A71 #76552A
square
#2A762F #2A4B76 #762A71 #76552A
split-complementary
#2A762F #552A76 #762A4B
monochromatic
#0A1C0B #1A491D #2A762F #3AA341 #57C35E
Accessibility & contrast
On white
5.63
#2A762F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#2A762F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A762F
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A762F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A762F | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786B28
Deuteranopia (green-blind)
#6F6535
Tritanopia (blue-blind)
#1A7366
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2a762f; /* rgb */ color: rgb(42, 118, 47); /* oklch */ color: oklch(50.2% 0.129 144.4);
Tailwind
colors: {
custom: {
50: '#6d9e6a',
500: '#2a762f',
950: '#000000',
},
}SCSS
$custom: #2a762f; $custom-light: #6d9e6a; $custom-dark: #000000;
JSON
{
"hex": "#2a762f",
"rgb": {
"r": 42,
"g": 118,
"b": 47
},
"hsl": {
"h": 123.947,
"s": 47.5,
"l": 31.373
},
"oklch": {
"l": 0.50193,
"c": 0.12944,
"h": 144.4
},
"luminance": 0.13654
}Semantic roles & 50–950 ramp
primary
#2A762F
secondary
#A854A2
accent
#51CED7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A