#2F7319#2F7319
#2F7319 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.140 H 139.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7319 |
|---|---|
| RGB | rgb(47, 115, 25) |
| HSL | hsl(105, 64%, 27%) |
| HSV | hsv(105, 78%, 45%) |
| CMYK | cmyk(59.1%, 0%, 78.3%, 54.9%) |
| CIE-LAB | lab(42.67, -38.62, 40.59) |
| CIE-LCH | lch(42.67, 56.03, 133.57°) |
| OKLab | oklab(49.3% -0.1063 0.0912) |
| OKLCH | oklch(49.3% 0.14 139.4) |
| XYZ | xyz(7.4782, 12.9354, 3.0222) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.88
Green
#008000
ΔE00 5.41
Dark Grass Green
#388004
ΔE00 5.44
Darkish Green
#287C37
ΔE00 5.49
Darkgreen
#006400
ΔE00 5.87
Darkolivegreen
#556B2F
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7319 #5D1973
analogous
#5C7319 #2F7319 #197330
triadic
#2F7319 #192F73 #73192F
tetradic
#2F7319 #195C73 #5D1973 #733019
square
#2F7319 #195C73 #5D1973 #733019
split-complementary
#2F7319 #301973 #73195C
monochromatic
#0A1905 #1A410E #2F7319 #44A524 #5BD334
Accessibility & contrast
On white
5.85
#2F7319 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#2F7319 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7319
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7319 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7319 | 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)
#766806
Deuteranopia (green-blind)
#6E6323
Tritanopia (blue-blind)
#286F62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f7319; /* rgb */ color: rgb(47, 115, 25); /* oklch */ color: oklch(49.3% 0.140 139.4);
Tailwind
colors: {
custom: {
50: '#709c5d',
500: '#2f7319',
950: '#000000',
},
}SCSS
$custom: #2f7319; $custom-light: #709c5d; $custom-dark: #000000;
JSON
{
"hex": "#2f7319",
"rgb": {
"r": 47,
"g": 115,
"b": 25
},
"hsl": {
"h": 105.333,
"s": 64.286,
"l": 27.451
},
"oklch": {
"l": 0.49296,
"c": 0.14002,
"h": 139.4
},
"luminance": 0.12936
}Semantic roles & 50–950 ramp
primary
#2F7319
secondary
#8F40A8
accent
#41E7BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79