#2F731C#2F731C
#2F731C is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.138 H 139.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F731C |
|---|---|
| RGB | rgb(47, 115, 28) |
| HSL | hsl(107, 61%, 28%) |
| HSV | hsv(107, 76%, 45%) |
| CMYK | cmyk(59.1%, 0%, 75.7%, 54.9%) |
| CIE-LAB | lab(42.69, -38.38, 39.45) |
| CIE-LCH | lch(42.69, 55.04, 134.21°) |
| OKLab | oklab(49.32% -0.1054 0.0893) |
| OKLCH | oklch(49.32% 0.138 139.8) |
| XYZ | xyz(7.5123, 12.9490, 3.2019) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.95
Darkish Green
#287C37
ΔE00 5.16
Green
#008000
ΔE00 5.55
Dark Grass Green
#388004
ΔE00 5.67
Darkgreen
#006400
ΔE00 5.90
Darkolivegreen
#556B2F
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F731C #601C73
analogous
#5A731C #2F731C #1C7335
triadic
#2F731C #1C2F73 #731C2F
tetradic
#2F731C #1C5A73 #601C73 #73351C
square
#2F731C #1C5A73 #601C73 #73351C
split-complementary
#2F731C #351C73 #731C5A
monochromatic
#0A1906 #1B4210 #2F731C #43A428 #5BCF3A
Accessibility & contrast
On white
5.85
#2F731C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#2F731C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F731C
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F731C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F731C | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76680D
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#276F62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f731c; /* rgb */ color: rgb(47, 115, 28); /* oklch */ color: oklch(49.3% 0.138 139.8);
Tailwind
colors: {
custom: {
50: '#709c5e',
500: '#2f731c',
950: '#000000',
},
}SCSS
$custom: #2f731c; $custom-light: #709c5e; $custom-dark: #000000;
JSON
{
"hex": "#2f731c",
"rgb": {
"r": 47,
"g": 115,
"b": 28
},
"hsl": {
"h": 106.897,
"s": 60.839,
"l": 28.039
},
"oklch": {
"l": 0.49319,
"c": 0.13813,
"h": 139.8
},
"luminance": 0.1295
}Semantic roles & 50–950 ramp
primary
#2F731C
secondary
#9243A7
accent
#44E4C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79