#2F7312#2F7312
#2F7312 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.144 H 138.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7312 |
|---|---|
| RGB | rgb(47, 115, 18) |
| HSL | hsl(102, 73%, 26%) |
| HSV | hsv(102, 84%, 45%) |
| CMYK | cmyk(59.1%, 0%, 84.3%, 54.9%) |
| CIE-LAB | lab(42.63, -39.08, 42.95) |
| CIE-LCH | lch(42.63, 58.07, 132.30°) |
| OKLab | oklab(49.25% -0.1079 0.095) |
| OKLCH | oklch(49.25% 0.144 138.6) |
| XYZ | xyz(7.4119, 12.9089, 2.6732) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.86
Dark Grass Green
#388004
ΔE00 5.05
Green
#008000
ΔE00 5.21
Darkgreen
#006400
ΔE00 5.91
Darkish Green
#287C37
ΔE00 6.18
Darkolivegreen
#556B2F
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7312 #561273
analogous
#5F7312 #2F7312 #127325
triadic
#2F7312 #122F73 #73122F
tetradic
#2F7312 #125F73 #561273 #732512
square
#2F7312 #125F73 #561273 #732512
split-complementary
#2F7312 #251273 #73125F
monochromatic
#0B1A04 #193E0A #2F7312 #45A81A #5ADD23
Accessibility & contrast
On white
5.86
#2F7312 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#2F7312 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7312
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7312 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7312 | 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)
#6E631E
Tritanopia (blue-blind)
#286F61
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f7312; /* rgb */ color: rgb(47, 115, 18); /* oklch */ color: oklch(49.3% 0.144 138.6);
Tailwind
colors: {
custom: {
50: '#709c5a',
500: '#2f7312',
950: '#000000',
},
}SCSS
$custom: #2f7312; $custom-light: #709c5a; $custom-dark: #000000;
JSON
{
"hex": "#2f7312",
"rgb": {
"r": 47,
"g": 115,
"b": 18
},
"hsl": {
"h": 102.062,
"s": 72.932,
"l": 26.078
},
"oklch": {
"l": 0.4925,
"c": 0.1438,
"h": 138.6
},
"luminance": 0.12909
}Semantic roles & 50–950 ramp
primary
#2F7312
secondary
#8737AA
accent
#38F0B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79