#2B7252#2B7252
#2B7252 is a mid, moderate teal. Relative luminance 0.132; OKLCH L 49.8% C 0.088 H 161.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7252 |
|---|---|
| RGB | rgb(43, 114, 82) |
| HSL | hsl(153, 45%, 31%) |
| HSV | hsv(153, 62%, 45%) |
| CMYK | cmyk(62.3%, 0%, 28.1%, 55.3%) |
| CIE-LAB | lab(43.00, -30.39, 11.27) |
| CIE-LCH | lch(43.00, 32.42, 159.65°) |
| OKLab | oklab(49.79% -0.0834 0.0287) |
| OKLCH | oklch(49.79% 0.088 161) |
| XYZ | xyz(8.5358, 13.1566, 10.0706) |
| Luminance | 0.1316 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 7.33
Dark Sea Green
#11875D
ΔE00 7.71
Hunter Green
#355E3B
ΔE00 7.87
Pine
#2B5D34
ΔE00 8.34
Dark Green Blue
#1F6357
ΔE00 8.52
Jungle Green
#048243
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7252 #722B4B
analogous
#2B722E #2B7252 #2B6E72
triadic
#2B7252 #522B72 #72522B
tetradic
#2B7252 #2E2B72 #722B4B #6E722B
square
#2B7252 #2E2B72 #722B4B #6E722B
split-complementary
#2B7252 #722B6E #722E2B
monochromatic
#091912 #1A4632 #2B7252 #3C9E72 #58C091
Accessibility & contrast
On white
5.78
#2B7252 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#2B7252 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7252
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7252 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706A50
Deuteranopia (green-blind)
#676354
Tritanopia (blue-blind)
#087269
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2b7252; /* rgb */ color: rgb(43, 114, 82); /* oklch */ color: oklch(49.8% 0.088 161.0);
Tailwind
colors: {
custom: {
50: '#6c9b82',
500: '#2b7252',
950: '#000000',
},
}SCSS
$custom: #2b7252; $custom-light: #6c9b82; $custom-dark: #000000;
JSON
{
"hex": "#2b7252",
"rgb": {
"r": 43,
"g": 114,
"b": 82
},
"hsl": {
"h": 152.958,
"s": 45.223,
"l": 30.784
},
"oklch": {
"l": 0.49794,
"c": 0.08822,
"h": 161
},
"luminance": 0.13157
}Semantic roles & 50–950 ramp
primary
#2B7252
secondary
#A45579
accent
#538DD5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C