#2F512C#2F512C
#2F512C is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.8% C 0.072 H 142.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2F512C |
|---|---|
| RGB | rgb(47, 81, 44) |
| HSL | hsl(115, 30%, 25%) |
| HSV | hsv(115, 46%, 32%) |
| CMYK | cmyk(42%, 0%, 45.7%, 68.2%) |
| CIE-LAB | lab(31.05, -20.98, 17.95) |
| CIE-LCH | lch(31.05, 27.61, 139.44°) |
| OKLab | oklab(39.83% -0.0572 0.0442) |
| OKLCH | oklch(39.83% 0.072 142.3) |
| XYZ | xyz(4.5691, 6.6708, 3.4292) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.38
Pine
#2B5D34
ΔE00 4.45
Hunter Green
#355E3B
ΔE00 4.51
Pine Green
#0A481E
ΔE00 5.50
Evergreen
#05472A
ΔE00 6.65
British Racing Green
#05480D
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F512C #4E2C51
analogous
#42512C #2F512C #2C513C
triadic
#2F512C #2C2F51 #512C2F
tetradic
#2F512C #2C4251 #4E2C51 #513C2C
square
#2F512C #2C4251 #4E2C51 #513C2C
split-complementary
#2F512C #3C2C51 #512C42
monochromatic
#0C140B #182916 #2F512C #467942 #5DA057
Accessibility & contrast
On white
9.00
#2F512C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F512C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F512C
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F512C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F512C | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B29
Deuteranopia (green-blind)
#4E482E
Tritanopia (blue-blind)
#2C4F48
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f512c; /* rgb */ color: rgb(47, 81, 44); /* oklch */ color: oklch(39.8% 0.072 142.3);
Tailwind
colors: {
custom: {
50: '#698265',
500: '#2f512c',
950: '#000000',
},
}SCSS
$custom: #2f512c; $custom-light: #698265; $custom-dark: #000000;
JSON
{
"hex": "#2f512c",
"rgb": {
"r": 47,
"g": 81,
"b": 44
},
"hsl": {
"h": 115.135,
"s": 29.6,
"l": 24.51
},
"oklch": {
"l": 0.39831,
"c": 0.07228,
"h": 142.3
},
"luminance": 0.06671
}Semantic roles & 50–950 ramp
primary
#2F512C
secondary
#7F5683
accent
#62C6BE
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A05
muted
#7A7C7A