#2F841C#2F841C
#2F841C is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.159 H 140.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2F841C |
|---|---|
| RGB | rgb(47, 132, 28) |
| HSL | hsl(109, 65%, 31%) |
| HSV | hsv(109, 79%, 52%) |
| CMYK | cmyk(64.4%, 0%, 78.8%, 48.2%) |
| CIE-LAB | lab(48.50, -44.89, 45.23) |
| CIE-LCH | lch(48.50, 63.73, 134.79°) |
| OKLab | oklab(54.12% -0.123 0.1013) |
| OKLCH | oklch(54.12% 0.159 140.5) |
| XYZ | xyz(9.6327, 17.1898, 3.9087) |
| Luminance | 0.1719 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.20
Forestgreen (CSS)
#228B22
ΔE00 2.68
Dark Grass Green
#388004
ΔE00 2.76
Green
#008000
ΔE00 3.06
Emerald Green
#028F1E
ΔE00 4.26
True Green
#089404
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F841C #711C84
analogous
#63841C #2F841C #1C843D
triadic
#2F841C #1C2F84 #841C2F
tetradic
#2F841C #1C6384 #711C84 #843D1C
square
#2F841C #1C6384 #711C84 #843D1C
split-complementary
#2F841C #3D1C84 #841C63
monochromatic
#0B1F07 #1D5211 #2F841C #41B627 #5ED743
Accessibility & contrast
On white
4.73
#2F841C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#2F841C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F841C
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F841C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F841C | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887703
Deuteranopia (green-blind)
#7D7128
Tritanopia (blue-blind)
#228070
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #2f841c; /* rgb */ color: rgb(47, 132, 28); /* oklch */ color: oklch(54.1% 0.159 140.5);
Tailwind
colors: {
custom: {
50: '#73a961',
500: '#2f841c',
950: '#000000',
},
}SCSS
$custom: #2f841c; $custom-light: #73a961; $custom-dark: #000000;
JSON
{
"hex": "#2f841c",
"rgb": {
"r": 47,
"g": 132,
"b": 28
},
"hsl": {
"h": 109.038,
"s": 65,
"l": 31.373
},
"oklch": {
"l": 0.54123,
"c": 0.15935,
"h": 140.5
},
"luminance": 0.17191
}Semantic roles & 50–950 ramp
primary
#2F841C
secondary
#A245B7
accent
#40E8C9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79