#2F7C16#2F7C16
#2F7C16 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.153 H 139.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7C16 |
|---|---|
| RGB | rgb(47, 124, 22) |
| HSL | hsl(105, 70%, 29%) |
| HSV | hsv(105, 82%, 49%) |
| CMYK | cmyk(62.1%, 0%, 82.3%, 51.4%) |
| CIE-LAB | lab(45.74, -42.31, 44.60) |
| CIE-LCH | lch(45.74, 61.47, 133.49°) |
| OKLab | oklab(51.83% -0.1164 0.0991) |
| OKLCH | oklch(51.83% 0.153 139.6) |
| XYZ | xyz(8.5244, 15.0768, 3.2198) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.94
Dark Grass Green
#388004
ΔE00 2.63
Green
#008000
ΔE00 2.92
Forestgreen (CSS)
#228B22
ΔE00 5.43
Darkish Green
#287C37
ΔE00 5.43
Emerald Green
#028F1E
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7C16 #63167C
analogous
#627C16 #2F7C16 #167C30
triadic
#2F7C16 #162F7C #7C162F
tetradic
#2F7C16 #16627C #63167C #7C3016
square
#2F7C16 #16627C #63167C #7C3016
split-complementary
#2F7C16 #30167C #7C1662
monochromatic
#0A1A05 #1B480D #2F7C16 #43B01F #5BDB32
Accessibility & contrast
On white
5.23
#2F7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#2F7C16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7C16
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7C16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7C16 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#257869
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2f7c16; /* rgb */ color: rgb(47, 124, 22); /* oklch */ color: oklch(51.8% 0.153 139.6);
Tailwind
colors: {
custom: {
50: '#72a35d',
500: '#2f7c16',
950: '#000000',
},
}SCSS
$custom: #2f7c16; $custom-light: #72a35d; $custom-dark: #000000;
JSON
{
"hex": "#2f7c16",
"rgb": {
"r": 47,
"g": 124,
"b": 22
},
"hsl": {
"h": 105.294,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.51829,
"c": 0.15285,
"h": 139.6
},
"luminance": 0.15078
}Semantic roles & 50–950 ramp
primary
#2F7C16
secondary
#953DB1
accent
#3BEDC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79