#2F6827#2F6827
#2F6827 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.3% C 0.114 H 141.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6827 |
|---|---|
| RGB | rgb(47, 104, 39) |
| HSL | hsl(113, 45%, 28%) |
| HSV | hsv(113, 63%, 41%) |
| CMYK | cmyk(54.8%, 0%, 62.5%, 59.2%) |
| CIE-LAB | lab(38.99, -32.66, 30.42) |
| CIE-LCH | lch(38.99, 44.63, 137.04°) |
| OKLab | oklab(46.3% -0.0892 0.0715) |
| OKLCH | oklch(46.3% 0.114 141.3) |
| XYZ | xyz(6.4885, 10.6509, 3.6330) |
| Luminance | 0.1065 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.09
Darkgreen
#006400
ΔE00 5.24
Deep Green
#02590F
ΔE00 6.04
Pine
#2B5D34
ΔE00 6.25
Forest
#0B5509
ΔE00 6.93
Darkish Green
#287C37
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6827 #602768
analogous
#4F6827 #2F6827 #27683F
triadic
#2F6827 #272F68 #68272F
tetradic
#2F6827 #274F68 #602768 #683F27
square
#2F6827 #274F68 #602768 #683F27
split-complementary
#2F6827 #3F2768 #68274F
monochromatic
#0A1608 #1B3B16 #2F6827 #439538 #5BBC4D
Accessibility & contrast
On white
6.71
#2F6827 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#2F6827 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6827
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6827 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5F20
Deuteranopia (green-blind)
#635A2C
Tritanopia (blue-blind)
#28655A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2f6827; /* rgb */ color: rgb(47, 104, 39); /* oklch */ color: oklch(46.3% 0.114 141.3);
Tailwind
colors: {
custom: {
50: '#6d9464',
500: '#2f6827',
950: '#000000',
},
}SCSS
$custom: #2f6827; $custom-light: #6d9464; $custom-dark: #000000;
JSON
{
"hex": "#2f6827",
"rgb": {
"r": 47,
"g": 104,
"b": 39
},
"hsl": {
"h": 112.615,
"s": 45.455,
"l": 28.039
},
"oklch": {
"l": 0.46304,
"c": 0.11435,
"h": 141.3
},
"luminance": 0.10651
}Semantic roles & 50–950 ramp
primary
#2F6827
secondary
#92509B
accent
#53D5C5
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A