#2A762A#2A762A
#2A762A is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.134 H 143.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2A762A |
|---|---|
| RGB | rgb(42, 118, 42) |
| HSL | hsl(120, 48%, 31%) |
| HSV | hsv(120, 64%, 46%) |
| CMYK | cmyk(64.4%, 0%, 64.4%, 53.7%) |
| CIE-LAB | lab(43.68, -39.47, 34.24) |
| CIE-LCH | lch(43.68, 52.25, 139.07°) |
| OKLab | oklab(50.13% -0.1072 0.0801) |
| OKLCH | oklch(50.13% 0.134 143.3) |
| XYZ | xyz(7.8507, 13.6155, 4.4044) |
| Luminance | 0.1362 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.80
Tree Green
#2A7E19
ΔE00 4.19
Green
#008000
ΔE00 5.88
Jungle Green
#048243
ΔE00 6.16
Dark Grass Green
#388004
ΔE00 6.68
Darkgreen
#006400
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A762A #762A76
analogous
#50762A #2A762A #2A7650
triadic
#2A762A #2A2A76 #762A2A
tetradic
#2A762A #2A5076 #762A76 #76502A
square
#2A762A #2A5076 #762A76 #76502A
split-complementary
#2A762A #502A76 #762A50
monochromatic
#0A1C0A #1A491A #2A762A #3AA33A #57C357
Accessibility & contrast
On white
5.64
#2A762A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#2A762A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A762A
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A762A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A762A | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786B21
Deuteranopia (green-blind)
#6F6530
Tritanopia (blue-blind)
#1B7366
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2a762a; /* rgb */ color: rgb(42, 118, 42); /* oklch */ color: oklch(50.1% 0.134 143.3);
Tailwind
colors: {
custom: {
50: '#6d9e67',
500: '#2a762a',
950: '#000000',
},
}SCSS
$custom: #2a762a; $custom-light: #6d9e67; $custom-dark: #000000;
JSON
{
"hex": "#2a762a",
"rgb": {
"r": 42,
"g": 118,
"b": 42
},
"hsl": {
"h": 120,
"s": 47.5,
"l": 31.373
},
"oklch": {
"l": 0.50129,
"c": 0.13381,
"h": 143.3
},
"luminance": 0.13616
}Semantic roles & 50–950 ramp
primary
#2A762A
secondary
#A854A8
accent
#51D7D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A