#2F6B2A#2F6B2A
#2F6B2A is a mid, moderate green. Relative luminance 0.113; OKLCH L 47.2% C 0.116 H 142.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6B2A |
|---|---|
| RGB | rgb(47, 107, 42) |
| HSL | hsl(115, 44%, 29%) |
| HSV | hsv(115, 61%, 42%) |
| CMYK | cmyk(56.1%, 0%, 60.7%, 58%) |
| CIE-LAB | lab(40.06, -33.58, 30.12) |
| CIE-LCH | lch(40.06, 45.11, 138.11°) |
| OKLab | oklab(47.2% -0.0915 0.0712) |
| OKLCH | oklch(47.2% 0.116 142.1) |
| XYZ | xyz(6.8476, 11.2863, 4.0077) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.66
Forest Green
#2D5A27
ΔE00 5.95
Darkish Green
#287C37
ΔE00 5.99
Pine
#2B5D34
ΔE00 6.72
Deep Green
#02590F
ΔE00 6.83
Darkolivegreen
#556B2F
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6B2A #662A6B
analogous
#506B2A #2F6B2A #2A6B46
triadic
#2F6B2A #2A2F6B #6B2A2F
tetradic
#2F6B2A #2A506B #662A6B #6B462A
square
#2F6B2A #2A506B #662A6B #6B462A
split-complementary
#2F6B2A #462A6B #6B2A50
monochromatic
#0A1609 #1C3F19 #2F6B2A #42973B #5CBC54
Accessibility & contrast
On white
6.45
#2F6B2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#2F6B2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6B2A
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6B2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6B2A | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6223
Deuteranopia (green-blind)
#665C2F
Tritanopia (blue-blind)
#27685D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f6b2a; /* rgb */ color: rgb(47, 107, 42); /* oklch */ color: oklch(47.2% 0.116 142.1);
Tailwind
colors: {
custom: {
50: '#6e9666',
500: '#2f6b2a',
950: '#000000',
},
}SCSS
$custom: #2f6b2a; $custom-light: #6e9666; $custom-dark: #000000;
JSON
{
"hex": "#2f6b2a",
"rgb": {
"r": 47,
"g": 107,
"b": 42
},
"hsl": {
"h": 115.385,
"s": 43.624,
"l": 29.216
},
"oklch": {
"l": 0.47197,
"c": 0.11596,
"h": 142.1
},
"luminance": 0.11287
}Semantic roles & 50–950 ramp
primary
#2F6B2A
secondary
#98549D
accent
#54D3CA
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A