#2A6F4C#2A6F4C
#2A6F4C is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.8% C 0.090 H 158.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6F4C |
|---|---|
| RGB | rgb(42, 111, 76) |
| HSL | hsl(150, 45%, 30%) |
| HSV | hsv(150, 62%, 44%) |
| CMYK | cmyk(62.2%, 0%, 31.5%, 56.5%) |
| CIE-LAB | lab(41.82, -30.61, 13.19) |
| CIE-LCH | lch(41.82, 33.33, 156.69°) |
| OKLab | oklab(48.78% -0.0836 0.0335) |
| OKLCH | oklch(48.78% 0.09 158.2) |
| XYZ | xyz(7.9431, 12.3822, 8.8075) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 6.04
Hunter Green
#355E3B
ΔE00 6.64
Pine
#2B5D34
ΔE00 6.91
Dark Sea Green
#11875D
ΔE00 8.61
Darkish Green
#287C37
ΔE00 8.69
Jungle Green
#048243
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6F4C #6F2A4D
analogous
#2B6F2A #2A6F4C #2A6F6E
triadic
#2A6F4C #4C2A6F #6F4C2A
tetradic
#2A6F4C #2A2B6F #6F2A4D #6F6E2A
square
#2A6F4C #2A2B6F #6F2A4D #6F6E2A
split-complementary
#2A6F4C #6E2A6F #6F2A2B
monochromatic
#08160F #19432E #2A6F4C #3B9B6A #55BF89
Accessibility & contrast
On white
6.04
#2A6F4C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#2A6F4C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6F4C
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6F4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6F4C | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E674A
Deuteranopia (green-blind)
#65604E
Tritanopia (blue-blind)
#0D6E66
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2a6f4c; /* rgb */ color: rgb(42, 111, 76); /* oklch */ color: oklch(48.8% 0.090 158.2);
Tailwind
colors: {
custom: {
50: '#6b997e',
500: '#2a6f4c',
950: '#000000',
},
}SCSS
$custom: #2a6f4c; $custom-light: #6b997e; $custom-dark: #000000;
JSON
{
"hex": "#2a6f4c",
"rgb": {
"r": 42,
"g": 111,
"b": 76
},
"hsl": {
"h": 149.565,
"s": 45.098,
"l": 30
},
"oklch": {
"l": 0.48775,
"c": 0.09001,
"h": 158.2
},
"luminance": 0.12383
}Semantic roles & 50–950 ramp
primary
#2A6F4C
secondary
#A1547B
accent
#5395D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C