#2F6825#2F6825
#2F6825 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.3% C 0.116 H 140.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6825 |
|---|---|
| RGB | rgb(47, 104, 37) |
| HSL | hsl(111, 48%, 28%) |
| HSV | hsv(111, 64%, 41%) |
| CMYK | cmyk(54.8%, 0%, 64.4%, 59.2%) |
| CIE-LAB | lab(38.96, -32.90, 31.40) |
| CIE-LCH | lch(38.96, 45.48, 136.34°) |
| OKLab | oklab(46.28% -0.09 0.0734) |
| OKLCH | oklch(46.28% 0.116 140.8) |
| XYZ | xyz(6.4562, 10.6380, 3.4630) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.97
Forest Green
#2D5A27
ΔE00 5.25
Deep Green
#02590F
ΔE00 5.98
Pine
#2B5D34
ΔE00 6.58
Forest
#0B5509
ΔE00 6.84
Darkish Green
#287C37
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6825 #5E2568
analogous
#506825 #2F6825 #25683D
triadic
#2F6825 #252F68 #68252F
tetradic
#2F6825 #255068 #5E2568 #683D25
square
#2F6825 #255068 #5E2568 #683D25
split-complementary
#2F6825 #3D2568 #682550
monochromatic
#0A1708 #1B3B15 #2F6825 #439535 #5BBE49
Accessibility & contrast
On white
6.71
#2F6825 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#2F6825 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6825
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6825 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6825 | 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)
#6B5F1E
Deuteranopia (green-blind)
#635A2A
Tritanopia (blue-blind)
#29655A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2f6825; /* rgb */ color: rgb(47, 104, 37); /* oklch */ color: oklch(46.3% 0.116 140.8);
Tailwind
colors: {
custom: {
50: '#6d9462',
500: '#2f6825',
950: '#000000',
},
}SCSS
$custom: #2f6825; $custom-light: #6d9462; $custom-dark: #000000;
JSON
{
"hex": "#2f6825",
"rgb": {
"r": 47,
"g": 104,
"b": 37
},
"hsl": {
"h": 111.045,
"s": 47.518,
"l": 27.647
},
"oklch": {
"l": 0.46279,
"c": 0.11616,
"h": 140.8
},
"luminance": 0.10639
}Semantic roles & 50–950 ramp
primary
#2F6825
secondary
#904E9B
accent
#51D7C3
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79