#2D6E1B#2D6E1B
#2D6E1B is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.133 H 139.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2D6E1B |
|---|---|
| RGB | rgb(45, 110, 27) |
| HSL | hsl(107, 61%, 27%) |
| HSV | hsv(107, 75%, 43%) |
| CMYK | cmyk(59.1%, 0%, 75.5%, 56.9%) |
| CIE-LAB | lab(40.88, -37.03, 37.99) |
| CIE-LCH | lch(40.88, 53.05, 134.27°) |
| OKLab | oklab(47.8% -0.1017 0.0861) |
| OKLCH | oklch(47.8% 0.133 139.8) |
| XYZ | xyz(6.8557, 11.7883, 2.9508) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.59
Tree Green
#2A7E19
ΔE00 5.65
Darkish Green
#287C37
ΔE00 6.10
Green
#008000
ΔE00 7.04
Dark Grass Green
#388004
ΔE00 7.27
Deep Green
#02590F
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D6E1B #5C1B6E
analogous
#576E1B #2D6E1B #1B6E33
triadic
#2D6E1B #1B2D6E #6E1B2D
tetradic
#2D6E1B #1B576E #5C1B6E #6E331B
square
#2D6E1B #1B576E #5C1B6E #6E331B
split-complementary
#2D6E1B #331B6E #6E1B57
monochromatic
#0A1906 #193D0F #2D6E1B #419F27 #57CE36
Accessibility & contrast
On white
6.25
#2D6E1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#2D6E1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D6E1B
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D6E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D6E1B | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71640D
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#266A5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2d6e1b; /* rgb */ color: rgb(45, 110, 27); /* oklch */ color: oklch(47.8% 0.133 139.8);
Tailwind
colors: {
custom: {
50: '#6e985d',
500: '#2d6e1b',
950: '#000000',
},
}SCSS
$custom: #2d6e1b; $custom-light: #6e985d; $custom-dark: #000000;
JSON
{
"hex": "#2d6e1b",
"rgb": {
"r": 45,
"g": 110,
"b": 27
},
"hsl": {
"h": 106.988,
"s": 60.584,
"l": 26.863
},
"oklch": {
"l": 0.47804,
"c": 0.13324,
"h": 139.8
},
"luminance": 0.11789
}Semantic roles & 50–950 ramp
primary
#2D6E1B
secondary
#8E42A3
accent
#44E4C1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79