#2D6A1B#2D6A1B
#2D6A1B is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.7% C 0.128 H 139.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2D6A1B |
|---|---|
| RGB | rgb(45, 106, 27) |
| HSL | hsl(106, 59%, 26%) |
| HSV | hsv(106, 75%, 42%) |
| CMYK | cmyk(57.5%, 0%, 74.5%, 58.4%) |
| CIE-LAB | lab(39.49, -35.40, 36.56) |
| CIE-LCH | lch(39.49, 50.89, 134.07°) |
| OKLab | oklab(46.66% -0.0973 0.0831) |
| OKLCH | oklch(46.66% 0.128 139.5) |
| XYZ | xyz(6.4338, 10.9446, 2.8102) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.98
Deep Green
#02590F
ΔE00 6.40
Forest Green
#2D5A27
ΔE00 6.86
Tree Green
#2A7E19
ΔE00 7.04
Darkish Green
#287C37
ΔE00 7.05
Forest
#0B5509
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D6A1B #581B6A
analogous
#546A1B #2D6A1B #1B6A30
triadic
#2D6A1B #1B2D6A #6A1B2D
tetradic
#2D6A1B #1B546A #581B6A #6A301B
square
#2D6A1B #1B546A #581B6A #6A301B
split-complementary
#2D6A1B #301B6A #6A1B54
monochromatic
#0A1806 #18390F #2D6A1B #429B27 #57CB34
Accessibility & contrast
On white
6.59
#2D6A1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2D6A1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D6A1B
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D6A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D6A1B | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D600E
Deuteranopia (green-blind)
#655B23
Tritanopia (blue-blind)
#27665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2d6a1b; /* rgb */ color: rgb(45, 106, 27); /* oklch */ color: oklch(46.7% 0.128 139.5);
Tailwind
colors: {
custom: {
50: '#6d955d',
500: '#2d6a1b',
950: '#000000',
},
}SCSS
$custom: #2d6a1b; $custom-light: #6d955d; $custom-dark: #000000;
JSON
{
"hex": "#2d6a1b",
"rgb": {
"r": 45,
"g": 106,
"b": 27
},
"hsl": {
"h": 106.329,
"s": 59.398,
"l": 26.078
},
"oklch": {
"l": 0.46657,
"c": 0.12795,
"h": 139.5
},
"luminance": 0.10945
}Semantic roles & 50–950 ramp
primary
#2D6A1B
secondary
#8A429F
accent
#45E3BF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79