#2D6F15#2D6F15
#2D6F15 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.138 H 139.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2D6F15 |
|---|---|
| RGB | rgb(45, 111, 21) |
| HSL | hsl(104, 68%, 26%) |
| HSV | hsv(104, 81%, 44%) |
| CMYK | cmyk(59.5%, 0%, 81.1%, 56.5%) |
| CIE-LAB | lab(41.18, -37.89, 40.58) |
| CIE-LCH | lch(41.18, 55.52, 133.04°) |
| OKLab | oklab(48.05% -0.1044 0.0906) |
| OKLCH | oklch(48.05% 0.138 139.1) |
| XYZ | xyz(6.9017, 11.9803, 2.6581) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.71
Tree Green
#2A7E19
ΔE00 5.18
Darkish Green
#287C37
ΔE00 6.43
Green
#008000
ΔE00 6.47
Dark Grass Green
#388004
ΔE00 6.57
Deep Green
#02590F
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D6F15 #57156F
analogous
#5A6F15 #2D6F15 #156F2A
triadic
#2D6F15 #152D6F #6F152D
tetradic
#2D6F15 #155A6F #57156F #6F2A15
square
#2D6F15 #155A6F #57156F #6F2A15
split-complementary
#2D6F15 #2A156F #6F155A
monochromatic
#0A1A05 #183C0B #2D6F15 #42A21F #57D628
Accessibility & contrast
On white
6.18
#2D6F15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#2D6F15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D6F15
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D6F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D6F15 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#266B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2d6f15; /* rgb */ color: rgb(45, 111, 21); /* oklch */ color: oklch(48.0% 0.138 139.1);
Tailwind
colors: {
custom: {
50: '#6e995a',
500: '#2d6f15',
950: '#000000',
},
}SCSS
$custom: #2d6f15; $custom-light: #6e995a; $custom-dark: #000000;
JSON
{
"hex": "#2d6f15",
"rgb": {
"r": 45,
"g": 111,
"b": 21
},
"hsl": {
"h": 104,
"s": 68.182,
"l": 25.882
},
"oklch": {
"l": 0.48045,
"c": 0.13822,
"h": 139.1
},
"luminance": 0.11981
}Semantic roles & 50–950 ramp
primary
#2D6F15
secondary
#893AA5
accent
#3DEBBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79