#2D6F11#2D6F11
#2D6F11 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.140 H 138.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2D6F11 |
|---|---|
| RGB | rgb(45, 111, 17) |
| HSL | hsl(102, 73%, 25%) |
| HSV | hsv(102, 85%, 44%) |
| CMYK | cmyk(59.5%, 0%, 84.7%, 56.5%) |
| CIE-LAB | lab(41.16, -38.14, 41.88) |
| CIE-LCH | lch(41.16, 56.64, 132.33°) |
| OKLab | oklab(48.02% -0.1053 0.0927) |
| OKLCH | oklch(48.02% 0.14 138.7) |
| XYZ | xyz(6.8675, 11.9667, 2.4781) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.73
Tree Green
#2A7E19
ΔE00 5.17
Green
#008000
ΔE00 6.37
Dark Grass Green
#388004
ΔE00 6.39
Darkish Green
#287C37
ΔE00 6.77
Darkolivegreen
#556B2F
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D6F11 #53116F
analogous
#5C6F11 #2D6F11 #116F24
triadic
#2D6F11 #112D6F #6F112D
tetradic
#2D6F11 #115C6F #53116F #6F2411
square
#2D6F11 #115C6F #53116F #6F2411
split-complementary
#2D6F11 #24116F #6F115C
monochromatic
#0B1B04 #173A09 #2D6F11 #43A419 #58D921
Accessibility & contrast
On white
6.19
#2D6F11 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#2D6F11 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D6F11
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D6F11 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D6F11 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736400
Deuteranopia (green-blind)
#6A5F1C
Tritanopia (blue-blind)
#266B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2d6f11; /* rgb */ color: rgb(45, 111, 17); /* oklch */ color: oklch(48.0% 0.140 138.7);
Tailwind
colors: {
custom: {
50: '#6f9958',
500: '#2d6f11',
950: '#000000',
},
}SCSS
$custom: #2d6f11; $custom-light: #6f9958; $custom-dark: #000000;
JSON
{
"hex": "#2d6f11",
"rgb": {
"r": 45,
"g": 111,
"b": 17
},
"hsl": {
"h": 102.128,
"s": 73.438,
"l": 25.098
},
"oklch": {
"l": 0.4802,
"c": 0.14028,
"h": 138.7
},
"luminance": 0.11967
}Semantic roles & 50–950 ramp
primary
#2D6F11
secondary
#8535A6
accent
#38F0B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79