#2F6231#2F6231
#2F6231 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.095 H 144.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6231 |
|---|---|
| RGB | rgb(47, 98, 49) |
| HSL | hsl(122, 35%, 28%) |
| HSV | hsv(122, 52%, 38%) |
| CMYK | cmyk(52%, 0%, 50%, 61.6%) |
| CIE-LAB | lab(37.04, -28.51, 22.67) |
| CIE-LCH | lch(37.04, 36.42, 141.51°) |
| OKLab | oklab(44.75% -0.0775 0.0552) |
| OKLCH | oklch(44.75% 0.095 144.5) |
| XYZ | xyz(6.0940, 9.5610, 4.4295) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.54
Forest Green
#2D5A27
ΔE00 2.87
Hunter Green
#355E3B
ΔE00 3.90
Spruce
#0A5F38
ΔE00 5.12
Deep Green
#02590F
ΔE00 6.46
Forest
#0B5509
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6231 #622F60
analogous
#46622F #2F6231 #2F624A
triadic
#2F6231 #312F62 #62312F
tetradic
#2F6231 #2F4662 #622F60 #624A2F
square
#2F6231 #2F4662 #622F60 #624A2F
split-complementary
#2F6231 #4A2F62 #622F46
monochromatic
#0A150A #1B391C #2F6231 #438B46 #5BB05E
Accessibility & contrast
On white
7.21
#2F6231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2F6231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F6231
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6231 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645A2D
Deuteranopia (green-blind)
#5D5534
Tritanopia (blue-blind)
#286056
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f6231; /* rgb */ color: rgb(47, 98, 49); /* oklch */ color: oklch(44.8% 0.095 144.5);
Tailwind
colors: {
custom: {
50: '#6c8f6a',
500: '#2f6231',
950: '#000000',
},
}SCSS
$custom: #2f6231; $custom-light: #6c8f6a; $custom-dark: #000000;
JSON
{
"hex": "#2f6231",
"rgb": {
"r": 47,
"g": 98,
"b": 49
},
"hsl": {
"h": 122.353,
"s": 35.172,
"l": 28.431
},
"oklch": {
"l": 0.44753,
"c": 0.09513,
"h": 144.5
},
"luminance": 0.09561
}Semantic roles & 50–950 ramp
primary
#2F6231
secondary
#945991
accent
#5DC7CB
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A