#2F901C#2F901C
#2F901C is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.173 H 140.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2F901C |
|---|---|
| RGB | rgb(47, 144, 28) |
| HSL | hsl(110, 67%, 34%) |
| HSV | hsv(110, 81%, 56%) |
| CMYK | cmyk(67.4%, 0%, 80.6%, 43.5%) |
| CIE-LAB | lab(52.55, -49.20, 49.12) |
| CIE-LCH | lch(52.55, 69.53, 135.05°) |
| OKLab | oklab(57.48% -0.1346 0.1094) |
| OKLCH | oklch(57.48% 0.173 140.9) |
| XYZ | xyz(11.3546, 20.6335, 4.4827) |
| Luminance | 0.2064 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 2.32
Emerald Green
#028F1E
ΔE00 2.34
Forestgreen (CSS)
#228B22
ΔE00 2.45
Irish Green
#019529
ΔE00 3.10
Kelley Green
#009337
ΔE00 4.57
Grass Green
#3F9B0B
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F901C #7D1C90
analogous
#69901C #2F901C #1C9043
triadic
#2F901C #1C2F90 #901C2F
tetradic
#2F901C #1C6990 #7D1C90 #90431C
square
#2F901C #1C6990 #7D1C90 #90431C
split-complementary
#2F901C #431C90 #901C69
monochromatic
#0E2A08 #1E5D12 #2F901C #40C326 #62DC4A
Accessibility & contrast
On white
4.10
#2F901C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#2F901C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F901C
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F901C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F901C | 1.00 | 4.10 | 5.13 | 5.13 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#1D8B7B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2f901c; /* rgb */ color: rgb(47, 144, 28); /* oklch */ color: oklch(57.5% 0.173 140.9);
Tailwind
colors: {
custom: {
50: '#76b162',
500: '#2f901c',
950: '#000000',
},
}SCSS
$custom: #2f901c; $custom-light: #76b162; $custom-dark: #000000;
JSON
{
"hex": "#2f901c",
"rgb": {
"r": 47,
"g": 144,
"b": 28
},
"hsl": {
"h": 110.172,
"s": 67.442,
"l": 33.725
},
"oklch": {
"l": 0.57475,
"c": 0.17349,
"h": 140.9
},
"luminance": 0.20635
}Semantic roles & 50–950 ramp
primary
#2F901C
secondary
#AB4ABE
accent
#3DEACE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A