#2F6617#2F6617
#2F6617 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.124 H 138.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6617 |
|---|---|
| RGB | rgb(47, 102, 23) |
| HSL | hsl(102, 63%, 25%) |
| HSV | hsv(102, 77%, 40%) |
| CMYK | cmyk(53.9%, 0%, 77.5%, 60%) |
| CIE-LAB | lab(38.14, -33.43, 36.86) |
| CIE-LCH | lch(38.14, 49.76, 132.20°) |
| OKLab | oklab(45.56% -0.0924 0.0831) |
| OKLCH | oklch(45.56% 0.124 138) |
| XYZ | xyz(6.0781, 10.1685, 2.4529) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.86
Deep Green
#02590F
ΔE00 5.71
Forest Green
#2D5A27
ΔE00 6.09
Forest
#0B5509
ΔE00 6.28
Camouflage Green
#4B6113
ΔE00 6.76
Navy Green
#35530A
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6617 #4E1766
analogous
#576617 #2F6617 #176627
triadic
#2F6617 #172F66 #66172F
tetradic
#2F6617 #175766 #4E1766 #662717
square
#2F6617 #175766 #4E1766 #662717
split-complementary
#2F6617 #271766 #661757
monochromatic
#0C1906 #18340C #2F6617 #469822 #5DCA2E
Accessibility & contrast
On white
6.92
#2F6617 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2F6617 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6617
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6617 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6617 | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D08
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#2B6257
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f6617; /* rgb */ color: rgb(47, 102, 23); /* oklch */ color: oklch(45.6% 0.124 138.0);
Tailwind
colors: {
custom: {
50: '#6e925a',
500: '#2f6617',
950: '#000000',
},
}SCSS
$custom: #2f6617; $custom-light: #6e925a; $custom-dark: #000000;
JSON
{
"hex": "#2f6617",
"rgb": {
"r": 47,
"g": 102,
"b": 23
},
"hsl": {
"h": 101.772,
"s": 63.2,
"l": 24.51
},
"oklch": {
"l": 0.45563,
"c": 0.12427,
"h": 138
},
"luminance": 0.10169
}Semantic roles & 50–950 ramp
primary
#2F6617
secondary
#7F3C9C
accent
#42E6B4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79