#2F831C#2F831C
#2F831C is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.158 H 140.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2F831C |
|---|---|
| RGB | rgb(47, 131, 28) |
| HSL | hsl(109, 65%, 31%) |
| HSV | hsv(109, 79%, 51%) |
| CMYK | cmyk(64.1%, 0%, 78.6%, 48.6%) |
| CIE-LAB | lab(48.16, -44.52, 44.90) |
| CIE-LCH | lch(48.16, 63.23, 134.76°) |
| OKLab | oklab(53.84% -0.122 0.1006) |
| OKLCH | oklch(53.84% 0.158 140.5) |
| XYZ | xyz(9.4977, 16.9199, 3.8637) |
| Luminance | 0.1692 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.85
Dark Grass Green
#388004
ΔE00 2.66
Green
#008000
ΔE00 2.92
Forestgreen (CSS)
#228B22
ΔE00 3.00
Emerald Green
#028F1E
ΔE00 4.57
Darkish Green
#287C37
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F831C #701C83
analogous
#62831C #2F831C #1C833C
triadic
#2F831C #1C2F83 #831C2F
tetradic
#2F831C #1C6283 #701C83 #833C1C
square
#2F831C #1C6283 #701C83 #833C1C
split-complementary
#2F831C #3C1C83 #831C62
monochromatic
#0B1E06 #1D5111 #2F831C #41B527 #5ED743
Accessibility & contrast
On white
4.79
#2F831C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#2F831C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F831C
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F831C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F831C | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877704
Deuteranopia (green-blind)
#7C7027
Tritanopia (blue-blind)
#227F70
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #2f831c; /* rgb */ color: rgb(47, 131, 28); /* oklch */ color: oklch(53.8% 0.158 140.5);
Tailwind
colors: {
custom: {
50: '#73a860',
500: '#2f831c',
950: '#000000',
},
}SCSS
$custom: #2f831c; $custom-light: #73a860; $custom-dark: #000000;
JSON
{
"hex": "#2f831c",
"rgb": {
"r": 47,
"g": 131,
"b": 28
},
"hsl": {
"h": 108.932,
"s": 64.78,
"l": 31.176
},
"oklch": {
"l": 0.53842,
"c": 0.15814,
"h": 140.5
},
"luminance": 0.16921
}Semantic roles & 50–950 ramp
primary
#2F831C
secondary
#A145B6
accent
#40E8C9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79