#2A7252#2A7252
#2A7252 is a mid, moderate teal. Relative luminance 0.131; OKLCH L 49.8% C 0.089 H 161.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7252 |
|---|---|
| RGB | rgb(42, 114, 82) |
| HSL | hsl(153, 46%, 31%) |
| HSV | hsv(153, 63%, 45%) |
| CMYK | cmyk(63.2%, 0%, 28.1%, 55.3%) |
| CIE-LAB | lab(42.97, -30.62, 11.22) |
| CIE-LCH | lch(42.97, 32.61, 159.87°) |
| OKLab | oklab(49.76% -0.084 0.0286) |
| OKLCH | oklch(49.76% 0.089 161.2) |
| XYZ | xyz(8.4944, 13.1352, 10.0687) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 7.31
Dark Sea Green
#11875D
ΔE00 7.69
Hunter Green
#355E3B
ΔE00 7.91
Pine
#2B5D34
ΔE00 8.36
Dark Green Blue
#1F6357
ΔE00 8.50
Jungle Green
#048243
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7252 #722A4A
analogous
#2A722E #2A7252 #2A6E72
triadic
#2A7252 #522A72 #72522A
tetradic
#2A7252 #2E2A72 #722A4A #6E722A
square
#2A7252 #2E2A72 #722A4A #6E722A
split-complementary
#2A7252 #722A6E #722E2A
monochromatic
#091912 #1A4532 #2A7252 #3A9F72 #56C191
Accessibility & contrast
On white
5.79
#2A7252 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#2A7252 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7252
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7252 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706A50
Deuteranopia (green-blind)
#666354
Tritanopia (blue-blind)
#047269
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2a7252; /* rgb */ color: rgb(42, 114, 82); /* oklch */ color: oklch(49.8% 0.089 161.2);
Tailwind
colors: {
custom: {
50: '#6c9b82',
500: '#2a7252',
950: '#000000',
},
}SCSS
$custom: #2a7252; $custom-light: #6c9b82; $custom-dark: #000000;
JSON
{
"hex": "#2a7252",
"rgb": {
"r": 42,
"g": 114,
"b": 82
},
"hsl": {
"h": 153.333,
"s": 46.154,
"l": 30.588
},
"oklch": {
"l": 0.49759,
"c": 0.08876,
"h": 161.2
},
"luminance": 0.13136
}Semantic roles & 50–950 ramp
primary
#2A7252
secondary
#A45477
accent
#528DD6
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C