#2A704B#2A704B
#2A704B is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.093 H 157.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2A704B |
|---|---|
| RGB | rgb(42, 112, 75) |
| HSL | hsl(148, 45%, 30%) |
| HSV | hsv(148, 63%, 44%) |
| CMYK | cmyk(62.5%, 0%, 33%, 56.1%) |
| CIE-LAB | lab(42.14, -31.29, 14.22) |
| CIE-LCH | lch(42.14, 34.37, 155.57°) |
| OKLab | oklab(49.03% -0.0853 0.036) |
| OKLCH | oklch(49.03% 0.093 157.1) |
| XYZ | xyz(8.0183, 12.5878, 8.6624) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 6.20
Hunter Green
#355E3B
ΔE00 6.84
Pine
#2B5D34
ΔE00 6.99
Darkish Green
#287C37
ΔE00 8.07
Jungle Green
#048243
ΔE00 8.13
Dark Sea Green
#11875D
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A704B #702A4F
analogous
#2C702A #2A704B #2A706E
triadic
#2A704B #4B2A70 #704B2A
tetradic
#2A704B #2A2C70 #702A4F #706E2A
square
#2A704B #2A2C70 #702A4F #706E2A
split-complementary
#2A704B #6E2A70 #702A2C
monochromatic
#09170F #19432D #2A704B #3B9D69 #55BF87
Accessibility & contrast
On white
5.97
#2A704B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#2A704B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A704B
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A704B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A704B | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6849
Deuteranopia (green-blind)
#66614D
Tritanopia (blue-blind)
#0D6F66
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2a704b; /* rgb */ color: rgb(42, 112, 75); /* oklch */ color: oklch(49.0% 0.093 157.1);
Tailwind
colors: {
custom: {
50: '#6b9a7d',
500: '#2a704b',
950: '#000000',
},
}SCSS
$custom: #2a704b; $custom-light: #6b9a7d; $custom-dark: #000000;
JSON
{
"hex": "#2a704b",
"rgb": {
"r": 42,
"g": 112,
"b": 75
},
"hsl": {
"h": 148.286,
"s": 45.455,
"l": 30.196
},
"oklch": {
"l": 0.49029,
"c": 0.09253,
"h": 157.1
},
"luminance": 0.12589
}Semantic roles & 50–950 ramp
primary
#2A704B
secondary
#A2547D
accent
#5398D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B