#2F741C#2F741C
#2F741C is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.139 H 139.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2F741C |
|---|---|
| RGB | rgb(47, 116, 28) |
| HSL | hsl(107, 61%, 28%) |
| HSV | hsv(107, 76%, 45%) |
| CMYK | cmyk(59.5%, 0%, 75.9%, 54.5%) |
| CIE-LAB | lab(43.03, -38.78, 39.80) |
| CIE-LCH | lch(43.03, 55.57, 134.26°) |
| OKLab | oklab(49.6% -0.1065 0.09) |
| OKLCH | oklch(49.6% 0.139 139.8) |
| XYZ | xyz(7.6270, 13.1783, 3.2401) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.61
Darkish Green
#287C37
ΔE00 5.02
Green
#008000
ΔE00 5.25
Dark Grass Green
#388004
ΔE00 5.36
Darkgreen
#006400
ΔE00 6.17
Forestgreen (CSS)
#228B22
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F741C #611C74
analogous
#5B741C #2F741C #1C7435
triadic
#2F741C #1C2F74 #741C2F
tetradic
#2F741C #1C5B74 #611C74 #74351C
square
#2F741C #1C5B74 #611C74 #74351C
split-complementary
#2F741C #351C74 #741C5B
monochromatic
#0A1906 #1B4310 #2F741C #43A528 #5BD03B
Accessibility & contrast
On white
5.78
#2F741C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#2F741C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F741C
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F741C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F741C | 1.00 | 5.78 | 3.64 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77690C
Deuteranopia (green-blind)
#6F6325
Tritanopia (blue-blind)
#277063
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f741c; /* rgb */ color: rgb(47, 116, 28); /* oklch */ color: oklch(49.6% 0.139 139.8);
Tailwind
colors: {
custom: {
50: '#709d5e',
500: '#2f741c',
950: '#000000',
},
}SCSS
$custom: #2f741c; $custom-light: #709d5e; $custom-dark: #000000;
JSON
{
"hex": "#2f741c",
"rgb": {
"r": 47,
"g": 116,
"b": 28
},
"hsl": {
"h": 107.045,
"s": 61.111,
"l": 28.235
},
"oklch": {
"l": 0.49603,
"c": 0.13943,
"h": 139.8
},
"luminance": 0.13179
}Semantic roles & 50–950 ramp
primary
#2F741C
secondary
#9343A8
accent
#44E4C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79