#2F7210#2F7210
#2F7210 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.143 H 138.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7210 |
|---|---|
| RGB | rgb(47, 114, 16) |
| HSL | hsl(101, 75%, 25%) |
| HSV | hsv(101, 86%, 45%) |
| CMYK | cmyk(58.8%, 0%, 86%, 55.3%) |
| CIE-LAB | lab(42.27, -38.80, 43.22) |
| CIE-LCH | lch(42.27, 58.08, 131.91°) |
| OKLab | oklab(48.95% -0.1073 0.0953) |
| OKLCH | oklch(48.95% 0.143 138.4) |
| XYZ | xyz(7.2829, 12.6758, 2.5530) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.21
Dark Grass Green
#388004
ΔE00 5.30
Green
#008000
ΔE00 5.49
Darkgreen
#006400
ΔE00 5.66
Darkish Green
#287C37
ΔE00 6.48
Darkolivegreen
#556B2F
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7210 #531072
analogous
#607210 #2F7210 #107222
triadic
#2F7210 #102F72 #72102F
tetradic
#2F7210 #106072 #531072 #722210
square
#2F7210 #106072 #531072 #722210
split-complementary
#2F7210 #221072 #721060
monochromatic
#0B1B04 #193C08 #2F7210 #45A818 #5BDD1F
Accessibility & contrast
On white
5.94
#2F7210 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#2F7210 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7210
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7210 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7210 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6D621C
Tritanopia (blue-blind)
#296E60
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2f7210; /* rgb */ color: rgb(47, 114, 16); /* oklch */ color: oklch(49.0% 0.143 138.4);
Tailwind
colors: {
custom: {
50: '#709b59',
500: '#2f7210',
950: '#000000',
},
}SCSS
$custom: #2f7210; $custom-light: #709b59; $custom-dark: #000000;
JSON
{
"hex": "#2f7210",
"rgb": {
"r": 47,
"g": 114,
"b": 16
},
"hsl": {
"h": 101.02,
"s": 75.385,
"l": 25.49
},
"oklch": {
"l": 0.48954,
"c": 0.14349,
"h": 138.4
},
"luminance": 0.12676
}Semantic roles & 50–950 ramp
primary
#2F7210
secondary
#8434A9
accent
#36F2B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79