#2F931F#2F931F
#2F931F is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.3% C 0.175 H 141.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F931F |
|---|---|
| RGB | rgb(47, 147, 31) |
| HSL | hsl(112, 65%, 35%) |
| HSV | hsv(112, 79%, 58%) |
| CMYK | cmyk(68%, 0%, 78.9%, 42.4%) |
| CIE-LAB | lab(53.57, -50.06, 49.12) |
| CIE-LCH | lch(53.57, 70.13, 135.54°) |
| OKLab | oklab(58.33% -0.1368 0.1099) |
| OKLCH | oklch(58.33% 0.175 141.2) |
| XYZ | xyz(11.8527, 21.5695, 4.8347) |
| Luminance | 0.2157 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 2.07
Irish Green
#019529
ΔE00 2.64
Emerald Green
#028F1E
ΔE00 2.70
Forestgreen (CSS)
#228B22
ΔE00 3.23
Grass Green
#3F9B0B
ΔE00 3.87
Kelley Green
#009337
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F931F #831F93
analogous
#69931F #2F931F #1F9349
triadic
#2F931F #1F2F93 #931F2F
tetradic
#2F931F #1F6993 #831F93 #93491F
square
#2F931F #1F6993 #831F93 #93491F
split-complementary
#2F931F #491F93 #931F69
monochromatic
#0F2E0A #1F6014 #2F931F #3FC62A #65DA52
Accessibility & contrast
On white
3.95
#2F931F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#2F931F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F931F
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F931F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F931F | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#1B8E7D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #2f931f; /* rgb */ color: rgb(47, 147, 31); /* oklch */ color: oklch(58.3% 0.175 141.2);
Tailwind
colors: {
custom: {
50: '#76b464',
500: '#2f931f',
950: '#000000',
},
}SCSS
$custom: #2f931f; $custom-light: #76b464; $custom-dark: #000000;
JSON
{
"hex": "#2f931f",
"rgb": {
"r": 47,
"g": 147,
"b": 31
},
"hsl": {
"h": 111.724,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.58327,
"c": 0.17543,
"h": 141.2
},
"luminance": 0.21571
}Semantic roles & 50–950 ramp
primary
#2F931F
secondary
#AF50BE
accent
#40E8D1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A