#2F7310#2F7310
#2F7310 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.145 H 138.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7310 |
|---|---|
| RGB | rgb(47, 115, 16) |
| HSL | hsl(101, 76%, 26%) |
| HSV | hsv(101, 86%, 45%) |
| CMYK | cmyk(59.1%, 0%, 86.1%, 54.9%) |
| CIE-LAB | lab(42.62, -39.19, 43.54) |
| CIE-LCH | lch(42.62, 58.58, 131.99°) |
| OKLab | oklab(49.24% -0.1083 0.096) |
| OKLCH | oklch(49.24% 0.145 138.5) |
| XYZ | xyz(7.3963, 12.9026, 2.5908) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.88
Dark Grass Green
#388004
ΔE00 4.97
Green
#008000
ΔE00 5.18
Darkgreen
#006400
ΔE00 5.93
Darkish Green
#287C37
ΔE00 6.35
Avocado
#568203
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7310 #541073
analogous
#607310 #2F7310 #107322
triadic
#2F7310 #102F73 #73102F
tetradic
#2F7310 #106073 #541073 #732210
square
#2F7310 #106073 #541073 #732210
split-complementary
#2F7310 #221073 #731060
monochromatic
#0B1B04 #193D09 #2F7310 #45A917 #5BDE1F
Accessibility & contrast
On white
5.86
#2F7310 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#2F7310 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7310
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7310 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7310 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E631D
Tritanopia (blue-blind)
#286F61
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f7310; /* rgb */ color: rgb(47, 115, 16); /* oklch */ color: oklch(49.2% 0.145 138.5);
Tailwind
colors: {
custom: {
50: '#719c59',
500: '#2f7310',
950: '#000000',
},
}SCSS
$custom: #2f7310; $custom-light: #719c59; $custom-dark: #000000;
JSON
{
"hex": "#2f7310",
"rgb": {
"r": 47,
"g": 115,
"b": 16
},
"hsl": {
"h": 101.212,
"s": 75.573,
"l": 25.686
},
"oklch": {
"l": 0.49239,
"c": 0.14471,
"h": 138.5
},
"luminance": 0.12903
}Semantic roles & 50–950 ramp
primary
#2F7310
secondary
#8534AA
accent
#36F2B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79