#2E7F26#2E7F26
#2E7F26 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.147 H 141.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7F26 |
|---|---|
| RGB | rgb(46, 127, 38) |
| HSL | hsl(115, 54%, 32%) |
| HSV | hsv(115, 70%, 50%) |
| CMYK | cmyk(63.8%, 0%, 70.1%, 50.2%) |
| CIE-LAB | lab(46.84, -42.42, 39.59) |
| CIE-LCH | lch(46.84, 58.02, 136.98°) |
| OKLab | oklab(52.77% -0.1157 0.0909) |
| OKLCH | oklch(52.77% 0.147 141.8) |
| XYZ | xyz(9.0655, 15.8987, 4.4244) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.58
Green
#008000
ΔE00 3.61
Darkish Green
#287C37
ΔE00 3.70
Dark Grass Green
#388004
ΔE00 4.04
Forestgreen (CSS)
#228B22
ΔE00 4.42
Emerald Green
#028F1E
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7F26 #77267F
analogous
#5A7F26 #2E7F26 #267F4B
triadic
#2E7F26 #262E7F #7F262E
tetradic
#2E7F26 #265A7F #77267F #7F4B26
square
#2E7F26 #265A7F #77267F #7F4B26
split-complementary
#2E7F26 #4B267F #7F265A
monochromatic
#0C210A #1D5018 #2E7F26 #3FAE34 #5ECC54
Accessibility & contrast
On white
5.02
#2E7F26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#2E7F26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7F26
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7F26 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82731A
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#207B6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2e7f26; /* rgb */ color: rgb(46, 127, 38); /* oklch */ color: oklch(52.8% 0.147 141.8);
Tailwind
colors: {
custom: {
50: '#71a565',
500: '#2e7f26',
950: '#000000',
},
}SCSS
$custom: #2e7f26; $custom-light: #71a565; $custom-dark: #000000;
JSON
{
"hex": "#2e7f26",
"rgb": {
"r": 46,
"g": 127,
"b": 38
},
"hsl": {
"h": 114.607,
"s": 53.939,
"l": 32.353
},
"oklch": {
"l": 0.52767,
"c": 0.14712,
"h": 141.8
},
"luminance": 0.159
}Semantic roles & 50–950 ramp
primary
#2E7F26
secondary
#A851B0
accent
#4ADDD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A