#2B7A52#2B7A52
#2B7A52 is a mid, moderate green. Relative luminance 0.150; OKLCH L 52.0% C 0.100 H 157.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7A52 |
|---|---|
| RGB | rgb(43, 122, 82) |
| HSL | hsl(150, 48%, 32%) |
| HSV | hsv(150, 65%, 48%) |
| CMYK | cmyk(64.8%, 0%, 32.8%, 52.2%) |
| CIE-LAB | lab(45.69, -34.04, 14.98) |
| CIE-LCH | lch(45.69, 37.20, 156.24°) |
| OKLab | oklab(52% -0.0927 0.0379) |
| OKLCH | oklch(52% 0.1 157.8) |
| XYZ | xyz(9.4779, 15.0409, 10.3847) |
| Luminance | 0.1504 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Sea Green
#11875D
ΔE00 4.92
Jungle Green
#048243
ΔE00 5.76
Sea Green
#2E8B57
ΔE00 6.46
Darkish Green
#287C37
ΔE00 6.80
Dark Sage
#598556
ΔE00 8.12
Viridian
#1E9167
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7A52 #7A2B53
analogous
#2C7A2B #2B7A52 #2B7A7A
triadic
#2B7A52 #522B7A #7A522B
tetradic
#2B7A52 #2B2C7A #7A2B53 #7A7A2B
square
#2B7A52 #2B2C7A #7A2B53 #7A7A2B
split-complementary
#2B7A52 #7A2B7A #7A2B2C
monochromatic
#0B1F15 #1B4D34 #2B7A52 #3BA770 #5AC58F
Accessibility & contrast
On white
5.24
#2B7A52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#2B7A52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7A52
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7A52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7A52 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#797150
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#01796F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2b7a52; /* rgb */ color: rgb(43, 122, 82); /* oklch */ color: oklch(52.0% 0.100 157.8);
Tailwind
colors: {
custom: {
50: '#6da182',
500: '#2b7a52',
950: '#000000',
},
}SCSS
$custom: #2b7a52; $custom-light: #6da182; $custom-dark: #000000;
JSON
{
"hex": "#2b7a52",
"rgb": {
"r": 43,
"g": 122,
"b": 82
},
"hsl": {
"h": 149.62,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.51999,
"c": 0.10017,
"h": 157.8
},
"luminance": 0.15042
}Semantic roles & 50–950 ramp
primary
#2B7A52
secondary
#AB5681
accent
#5095D7
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#080F0A
muted
#7A7F7C