#2F931C#2F931C
#2F931C is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.3% C 0.177 H 141.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F931C |
|---|---|
| RGB | rgb(47, 147, 28) |
| HSL | hsl(110, 68%, 34%) |
| HSV | hsv(110, 81%, 58%) |
| CMYK | cmyk(68%, 0%, 81%, 42.4%) |
| CIE-LAB | lab(53.55, -50.25, 50.08) |
| CIE-LCH | lch(53.55, 70.94, 135.10°) |
| OKLab | oklab(58.31% -0.1374 0.1114) |
| OKLCH | oklch(58.31% 0.177 141) |
| XYZ | xyz(11.8150, 21.5544, 4.6361) |
| Luminance | 0.2156 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 1.92
Emerald Green
#028F1E
ΔE00 2.82
Irish Green
#019529
ΔE00 2.85
Forestgreen (CSS)
#228B22
ΔE00 3.35
Grass Green
#3F9B0B
ΔE00 3.70
Grassy Green
#419C03
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F931C #801C93
analogous
#6B931C #2F931C #1C9345
triadic
#2F931C #1C2F93 #931C2F
tetradic
#2F931C #1C6B93 #801C93 #93451C
square
#2F931C #1C6B93 #801C93 #93451C
split-complementary
#2F931C #451C93 #931C6B
monochromatic
#0E2C08 #1F6012 #2F931C #3FC626 #63DD4C
Accessibility & contrast
On white
3.95
#2F931C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#2F931C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F931C
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F931C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F931C | 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)
#978500
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#1B8E7D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #2f931c; /* rgb */ color: rgb(47, 147, 28); /* oklch */ color: oklch(58.3% 0.177 141.0);
Tailwind
colors: {
custom: {
50: '#76b463',
500: '#2f931c',
950: '#000000',
},
}SCSS
$custom: #2f931c; $custom-light: #76b463; $custom-dark: #000000;
JSON
{
"hex": "#2f931c",
"rgb": {
"r": 47,
"g": 147,
"b": 28
},
"hsl": {
"h": 110.42,
"s": 68,
"l": 34.314
},
"oklch": {
"l": 0.58309,
"c": 0.17694,
"h": 141
},
"luminance": 0.21556
}Semantic roles & 50–950 ramp
primary
#2F931C
secondary
#AD4CBF
accent
#3DEBCF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A