#2E761B#2E761B
#2E761B is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.143 H 140.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2E761B |
|---|---|
| RGB | rgb(46, 118, 27) |
| HSL | hsl(107, 63%, 28%) |
| HSV | hsv(107, 77%, 46%) |
| CMYK | cmyk(61%, 0%, 77.1%, 53.7%) |
| CIE-LAB | lab(43.68, -39.92, 40.83) |
| CIE-LCH | lch(43.68, 57.10, 134.36°) |
| OKLab | oklab(50.13% -0.1096 0.092) |
| OKLCH | oklch(50.13% 0.143 140) |
| XYZ | xyz(7.8026, 13.6161, 3.2537) |
| Luminance | 0.1362 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.87
Green
#008000
ΔE00 4.56
Dark Grass Green
#388004
ΔE00 4.72
Darkish Green
#287C37
ΔE00 4.87
Darkgreen
#006400
ΔE00 6.67
Forestgreen (CSS)
#228B22
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E761B #631B76
analogous
#5B761B #2E761B #1B7635
triadic
#2E761B #1B2E76 #761B2E
tetradic
#2E761B #1B5B76 #631B76 #76351B
square
#2E761B #1B5B76 #631B76 #76351B
split-complementary
#2E761B #351B76 #761B5B
monochromatic
#0A1906 #1B4410 #2E761B #41A826 #59D23A
Accessibility & contrast
On white
5.64
#2E761B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#2E761B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E761B
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E761B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E761B | 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)
#796B09
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#257264
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2e761b; /* rgb */ color: rgb(46, 118, 27); /* oklch */ color: oklch(50.1% 0.143 140.0);
Tailwind
colors: {
custom: {
50: '#709e5e',
500: '#2e761b',
950: '#000000',
},
}SCSS
$custom: #2e761b; $custom-light: #709e5e; $custom-dark: #000000;
JSON
{
"hex": "#2e761b",
"rgb": {
"r": 46,
"g": 118,
"b": 27
},
"hsl": {
"h": 107.473,
"s": 62.759,
"l": 28.431
},
"oklch": {
"l": 0.50125,
"c": 0.14308,
"h": 140
},
"luminance": 0.13617
}Semantic roles & 50–950 ramp
primary
#2E761B
secondary
#9542AA
accent
#42E6C4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79