#2A7251#2A7251
#2A7251 is a mid, moderate teal. Relative luminance 0.131; OKLCH L 49.7% C 0.090 H 160.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7251 |
|---|---|
| RGB | rgb(42, 114, 81) |
| HSL | hsl(153, 46%, 31%) |
| HSV | hsv(153, 63%, 45%) |
| CMYK | cmyk(63.2%, 0%, 28.9%, 55.3%) |
| CIE-LAB | lab(42.94, -30.85, 11.79) |
| CIE-LCH | lch(42.94, 33.03, 159.09°) |
| OKLab | oklab(49.73% -0.0845 0.03) |
| OKLCH | oklch(49.73% 0.09 160.5) |
| XYZ | xyz(8.4566, 13.1201, 9.8698) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 7.19
Dark Sea Green
#11875D
ΔE00 7.64
Hunter Green
#355E3B
ΔE00 7.81
Pine
#2B5D34
ΔE00 8.21
Jungle Green
#048243
ΔE00 8.55
Dark Green Blue
#1F6357
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7251 #722A4B
analogous
#2A722D #2A7251 #2A6F72
triadic
#2A7251 #512A72 #72512A
tetradic
#2A7251 #2D2A72 #722A4B #6F722A
square
#2A7251 #2D2A72 #722A4B #6F722A
split-complementary
#2A7251 #722A6F #722D2A
monochromatic
#091911 #1A4531 #2A7251 #3A9F71 #56C190
Accessibility & contrast
On white
5.79
#2A7251 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#2A7251 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7251
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7251 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7251 | 1.00 | 5.79 | 3.62 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716A4F
Deuteranopia (green-blind)
#676353
Tritanopia (blue-blind)
#057269
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2a7251; /* rgb */ color: rgb(42, 114, 81); /* oklch */ color: oklch(49.7% 0.090 160.5);
Tailwind
colors: {
custom: {
50: '#6b9b82',
500: '#2a7251',
950: '#000000',
},
}SCSS
$custom: #2a7251; $custom-light: #6b9b82; $custom-dark: #000000;
JSON
{
"hex": "#2a7251",
"rgb": {
"r": 42,
"g": 114,
"b": 81
},
"hsl": {
"h": 152.5,
"s": 46.154,
"l": 30.588
},
"oklch": {
"l": 0.49733,
"c": 0.0897,
"h": 160.5
},
"luminance": 0.13121
}Semantic roles & 50–950 ramp
primary
#2A7251
secondary
#A45479
accent
#528ED6
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C