#2F751C#2F751C
#2F751C is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.141 H 139.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F751C |
|---|---|
| RGB | rgb(47, 117, 28) |
| HSL | hsl(107, 61%, 28%) |
| HSV | hsv(107, 76%, 46%) |
| CMYK | cmyk(59.8%, 0%, 76.1%, 54.1%) |
| CIE-LAB | lab(43.37, -39.18, 40.15) |
| CIE-LCH | lch(43.37, 56.10, 134.30°) |
| OKLab | oklab(49.89% -0.1076 0.0907) |
| OKLCH | oklch(49.89% 0.141 139.9) |
| XYZ | xyz(7.7428, 13.4101, 3.2788) |
| Luminance | 0.1341 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.26
Darkish Green
#287C37
ΔE00 4.90
Green
#008000
ΔE00 4.94
Dark Grass Green
#388004
ΔE00 5.06
Darkgreen
#006400
ΔE00 6.45
Forestgreen (CSS)
#228B22
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F751C #621C75
analogous
#5B751C #2F751C #1C7535
triadic
#2F751C #1C2F75 #751C2F
tetradic
#2F751C #1C5B75 #621C75 #75351C
square
#2F751C #1C5B75 #621C75 #75351C
split-complementary
#2F751C #351C75 #751C5B
monochromatic
#0A1906 #1B4410 #2F751C #43A628 #5BD03B
Accessibility & contrast
On white
5.70
#2F751C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#2F751C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F751C
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F751C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F751C | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A0C
Deuteranopia (green-blind)
#706425
Tritanopia (blue-blind)
#277164
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f751c; /* rgb */ color: rgb(47, 117, 28); /* oklch */ color: oklch(49.9% 0.141 139.9);
Tailwind
colors: {
custom: {
50: '#709d5f',
500: '#2f751c',
950: '#000000',
},
}SCSS
$custom: #2f751c; $custom-light: #709d5f; $custom-dark: #000000;
JSON
{
"hex": "#2f751c",
"rgb": {
"r": 47,
"g": 117,
"b": 28
},
"hsl": {
"h": 107.191,
"s": 61.379,
"l": 28.431
},
"oklch": {
"l": 0.49888,
"c": 0.14072,
"h": 139.9
},
"luminance": 0.13411
}Semantic roles & 50–950 ramp
primary
#2F751C
secondary
#9444A9
accent
#43E4C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79