#2A751F#2A751F
#2A751F is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.141 H 141.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2A751F |
|---|---|
| RGB | rgb(42, 117, 31) |
| HSL | hsl(112, 58%, 29%) |
| HSV | hsv(112, 74%, 46%) |
| CMYK | cmyk(64.1%, 0%, 73.5%, 54.1%) |
| CIE-LAB | lab(43.23, -40.25, 38.73) |
| CIE-LCH | lch(43.23, 55.86, 136.10°) |
| OKLab | oklab(49.73% -0.11 0.0882) |
| OKLCH | oklch(49.73% 0.141 141.3) |
| XYZ | xyz(7.5631, 13.3130, 3.4672) |
| Luminance | 0.1331 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.43
Darkish Green
#287C37
ΔE00 4.32
Green
#008000
ΔE00 5.00
Dark Grass Green
#388004
ΔE00 5.60
Darkgreen
#006400
ΔE00 6.28
Jungle Green
#048243
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A751F #6A1F75
analogous
#55751F #2A751F #1F753F
triadic
#2A751F #1F2A75 #751F2A
tetradic
#2A751F #1F5575 #6A1F75 #753F1F
square
#2A751F #1F5575 #6A1F75 #753F1F
split-complementary
#2A751F #3F1F75 #751F55
monochromatic
#091806 #194512 #2A751F #3BA52C #53CD42
Accessibility & contrast
On white
5.73
#2A751F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#2A751F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A751F
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A751F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A751F | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#1E7164
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2a751f; /* rgb */ color: rgb(42, 117, 31); /* oklch */ color: oklch(49.7% 0.141 141.3);
Tailwind
colors: {
custom: {
50: '#6e9d60',
500: '#2a751f',
950: '#000000',
},
}SCSS
$custom: #2a751f; $custom-light: #6e9d60; $custom-dark: #000000;
JSON
{
"hex": "#2a751f",
"rgb": {
"r": 42,
"g": 117,
"b": 31
},
"hsl": {
"h": 112.326,
"s": 58.108,
"l": 29.02
},
"oklch": {
"l": 0.49729,
"c": 0.14098,
"h": 141.3
},
"luminance": 0.13314
}Semantic roles & 50–950 ramp
primary
#2A751F
secondary
#9C47A9
accent
#46E1CE
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79