#2F6721#2F6721
#2F6721 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.9% C 0.118 H 139.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6721 |
|---|---|
| RGB | rgb(47, 103, 33) |
| HSL | hsl(108, 51%, 27%) |
| HSV | hsv(108, 68%, 40%) |
| CMYK | cmyk(54.4%, 0%, 68%, 59.6%) |
| CIE-LAB | lab(38.58, -32.92, 32.91) |
| CIE-LCH | lch(38.58, 46.56, 135.01°) |
| OKLab | oklab(45.95% -0.0903 0.0762) |
| OKLCH | oklch(45.95% 0.118 139.9) |
| XYZ | xyz(6.2968, 10.4142, 3.1169) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.53
Forest Green
#2D5A27
ΔE00 5.30
Deep Green
#02590F
ΔE00 5.71
Forest
#0B5509
ΔE00 6.48
Pine
#2B5D34
ΔE00 6.95
Darkolivegreen
#556B2F
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6721 #592167
analogous
#526721 #2F6721 #216736
triadic
#2F6721 #212F67 #67212F
tetradic
#2F6721 #215267 #592167 #673621
square
#2F6721 #215267 #592167 #673621
split-complementary
#2F6721 #362167 #672152
monochromatic
#0B1707 #1A3912 #2F6721 #449530 #5AC240
Accessibility & contrast
On white
6.81
#2F6721 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#2F6721 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6721
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6721 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6721 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E18
Deuteranopia (green-blind)
#635927
Tritanopia (blue-blind)
#296458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2f6721; /* rgb */ color: rgb(47, 103, 33); /* oklch */ color: oklch(45.9% 0.118 139.9);
Tailwind
colors: {
custom: {
50: '#6d9360',
500: '#2f6721',
950: '#000000',
},
}SCSS
$custom: #2f6721; $custom-light: #6d9360; $custom-dark: #000000;
JSON
{
"hex": "#2f6721",
"rgb": {
"r": 47,
"g": 103,
"b": 33
},
"hsl": {
"h": 108,
"s": 51.471,
"l": 26.667
},
"oklch": {
"l": 0.45946,
"c": 0.11817,
"h": 139.9
},
"luminance": 0.10415
}Semantic roles & 50–950 ramp
primary
#2F6721
secondary
#8B499B
accent
#4DDBBF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79