#2F6F12#2F6F12
#2F6F12 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.139 H 138.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6F12 |
|---|---|
| RGB | rgb(47, 111, 18) |
| HSL | hsl(101, 72%, 25%) |
| HSV | hsv(101, 84%, 44%) |
| CMYK | cmyk(57.7%, 0%, 83.8%, 56.5%) |
| CIE-LAB | lab(41.24, -37.49, 41.66) |
| CIE-LCH | lch(41.24, 56.05, 131.98°) |
| OKLab | oklab(48.11% -0.1037 0.0923) |
| OKLCH | oklch(48.11% 0.139 138.3) |
| XYZ | xyz(6.9657, 12.0163, 2.5245) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.89
Tree Green
#2A7E19
ΔE00 5.20
Dark Grass Green
#388004
ΔE00 6.36
Green
#008000
ΔE00 6.47
Darkish Green
#287C37
ΔE00 6.79
Darkolivegreen
#556B2F
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6F12 #52126F
analogous
#5E6F12 #2F6F12 #126F23
triadic
#2F6F12 #122F6F #6F122F
tetradic
#2F6F12 #125E6F #52126F #6F2312
square
#2F6F12 #125E6F #52126F #6F2312
split-complementary
#2F6F12 #23126F #6F125E
monochromatic
#0B1A04 #193A09 #2F6F12 #45A41B #5CD823
Accessibility & contrast
On white
6.17
#2F6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#2F6F12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6F12
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6F12 | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#296B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2f6f12; /* rgb */ color: rgb(47, 111, 18); /* oklch */ color: oklch(48.1% 0.139 138.3);
Tailwind
colors: {
custom: {
50: '#709959',
500: '#2f6f12',
950: '#000000',
},
}SCSS
$custom: #2f6f12; $custom-light: #709959; $custom-dark: #000000;
JSON
{
"hex": "#2f6f12",
"rgb": {
"r": 47,
"g": 111,
"b": 18
},
"hsl": {
"h": 101.29,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.48108,
"c": 0.13882,
"h": 138.3
},
"luminance": 0.12017
}Semantic roles & 50–950 ramp
primary
#2F6F12
secondary
#8337A6
accent
#39EFB6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79