#2F862C#2F862C
#2F862C is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.151 H 142.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F862C |
|---|---|
| RGB | rgb(47, 134, 44) |
| HSL | hsl(118, 51%, 35%) |
| HSV | hsv(118, 67%, 53%) |
| CMYK | cmyk(64.9%, 0%, 67.2%, 47.5%) |
| CIE-LAB | lab(49.30, -44.22, 39.60) |
| CIE-LCH | lch(49.30, 59.36, 138.15°) |
| OKLab | oklab(54.82% -0.1203 0.0917) |
| OKLCH | oklch(54.82% 0.151 142.7) |
| XYZ | xyz(10.1514, 17.8354, 5.2900) |
| Luminance | 0.1784 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.38
Tree Green
#2A7E19
ΔE00 3.41
Emerald Green
#028F1E
ΔE00 3.97
Green
#008000
ΔE00 4.50
Dark Grass Green
#388004
ΔE00 4.78
Darkish Green
#287C37
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F862C #832C86
analogous
#5C862C #2F862C #2C8656
triadic
#2F862C #2C2F86 #862C2F
tetradic
#2F862C #2C5C86 #832C86 #86562C
square
#2F862C #2C5C86 #832C86 #86562C
split-complementary
#2F862C #562C86 #862C5C
monochromatic
#0F2A0E #1F581D #2F862C #3FB43B #65CB61
Accessibility & contrast
On white
4.60
#2F862C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#2F862C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F862C
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F862C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F862C | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A21
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#1E8273
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2f862c; /* rgb */ color: rgb(47, 134, 44); /* oklch */ color: oklch(54.8% 0.151 142.7);
Tailwind
colors: {
custom: {
50: '#73aa69',
500: '#2f862c',
950: '#000000',
},
}SCSS
$custom: #2f862c; $custom-light: #73aa69; $custom-dark: #000000;
JSON
{
"hex": "#2f862c",
"rgb": {
"r": 47,
"g": 134,
"b": 44
},
"hsl": {
"h": 118,
"s": 50.562,
"l": 34.902
},
"oklch": {
"l": 0.54821,
"c": 0.1512,
"h": 142.7
},
"luminance": 0.17836
}Semantic roles & 50–950 ramp
primary
#2F862C
secondary
#AF5CB1
accent
#4EDAD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A