#2E761F#2E761F
#2E761F is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.2% C 0.140 H 140.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2E761F |
|---|---|
| RGB | rgb(46, 118, 31) |
| HSL | hsl(110, 58%, 29%) |
| HSV | hsv(110, 74%, 46%) |
| CMYK | cmyk(61%, 0%, 73.7%, 53.7%) |
| CIE-LAB | lab(43.71, -39.59, 39.26) |
| CIE-LCH | lch(43.71, 55.76, 135.24°) |
| OKLab | oklab(50.16% -0.1084 0.0893) |
| OKLCH | oklch(50.16% 0.14 140.5) |
| XYZ | xyz(7.8521, 13.6359, 3.5143) |
| Luminance | 0.1364 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.04
Darkish Green
#287C37
ΔE00 4.38
Green
#008000
ΔE00 4.81
Dark Grass Green
#388004
ΔE00 5.09
Darkgreen
#006400
ΔE00 6.72
Forestgreen (CSS)
#228B22
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E761F #671F76
analogous
#5A761F #2E761F #1F763C
triadic
#2E761F #1F2E76 #761F2E
tetradic
#2E761F #1F5A76 #671F76 #763C1F
square
#2E761F #1F5A76 #671F76 #763C1F
split-complementary
#2E761F #3C1F76 #761F5A
monochromatic
#091806 #1B4612 #2E761F #41A62C #5ACD42
Accessibility & contrast
On white
5.63
#2E761F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#2E761F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E761F
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E761F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E761F | 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)
#796B11
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#247265
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2e761f; /* rgb */ color: rgb(46, 118, 31); /* oklch */ color: oklch(50.2% 0.140 140.5);
Tailwind
colors: {
custom: {
50: '#709e60',
500: '#2e761f',
950: '#000000',
},
}SCSS
$custom: #2e761f; $custom-light: #709e60; $custom-dark: #000000;
JSON
{
"hex": "#2e761f",
"rgb": {
"r": 46,
"g": 118,
"b": 31
},
"hsl": {
"h": 109.655,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.50159,
"c": 0.14048,
"h": 140.5
},
"luminance": 0.13637
}Semantic roles & 50–950 ramp
primary
#2E761F
secondary
#9947AA
accent
#46E2C7
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79