#2F8C1C#2F8C1C
#2F8C1C is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.169 H 140.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8C1C |
|---|---|
| RGB | rgb(47, 140, 28) |
| HSL | hsl(110, 67%, 33%) |
| HSV | hsv(110, 80%, 55%) |
| CMYK | cmyk(66.4%, 0%, 80%, 45.1%) |
| CIE-LAB | lab(51.20, -47.79, 47.84) |
| CIE-LCH | lch(51.20, 67.62, 134.97°) |
| OKLab | oklab(56.36% -0.1308 0.1068) |
| OKLCH | oklch(56.36% 0.169 140.8) |
| XYZ | xyz(10.7594, 19.4433, 4.2843) |
| Luminance | 0.1944 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.52
Emerald Green
#028F1E
ΔE00 2.36
True Green
#089404
ΔE00 3.34
Irish Green
#019529
ΔE00 3.89
Dark Grass Green
#388004
ΔE00 4.67
Kelley Green
#009337
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8C1C #791C8C
analogous
#678C1C #2F8C1C #1C8C41
triadic
#2F8C1C #1C2F8C #8C1C2F
tetradic
#2F8C1C #1C678C #791C8C #8C411C
square
#2F8C1C #1C678C #791C8C #8C411C
split-complementary
#2F8C1C #411C8C #8C1C67
monochromatic
#0D2608 #1E5912 #2F8C1C #40BF26 #61DA48
Accessibility & contrast
On white
4.30
#2F8C1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#2F8C1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8C1C
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8C1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8C1C | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#1F8777
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2f8c1c; /* rgb */ color: rgb(47, 140, 28); /* oklch */ color: oklch(56.4% 0.169 140.8);
Tailwind
colors: {
custom: {
50: '#75ae62',
500: '#2f8c1c',
950: '#000000',
},
}SCSS
$custom: #2f8c1c; $custom-light: #75ae62; $custom-dark: #000000;
JSON
{
"hex": "#2f8c1c",
"rgb": {
"r": 47,
"g": 140,
"b": 28
},
"hsl": {
"h": 109.821,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.56362,
"c": 0.16884,
"h": 140.8
},
"luminance": 0.19444
}Semantic roles & 50–950 ramp
primary
#2F8C1C
secondary
#A848BC
accent
#3EEACD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A