#2A6D0F#2A6D0F
#2A6D0F is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.3% C 0.140 H 139.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6D0F |
|---|---|
| RGB | rgb(42, 109, 15) |
| HSL | hsl(103, 76%, 24%) |
| HSV | hsv(103, 86%, 43%) |
| CMYK | cmyk(61.5%, 0%, 86.2%, 57.3%) |
| CIE-LAB | lab(40.35, -38.32, 41.70) |
| CIE-LCH | lch(40.35, 56.63, 132.58°) |
| OKLab | oklab(47.32% -0.1057 0.092) |
| OKLCH | oklch(47.32% 0.14 139) |
| XYZ | xyz(6.5094, 11.4634, 2.3215) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.04
Tree Green
#2A7E19
ΔE00 5.82
Green
#008000
ΔE00 6.89
Dark Grass Green
#388004
ΔE00 7.07
Darkish Green
#287C37
ΔE00 7.17
Deep Green
#02590F
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6D0F #520F6D
analogous
#596D0F #2A6D0F #0F6D23
triadic
#2A6D0F #0F2A6D #6D0F2A
tetradic
#2A6D0F #0F596D #520F6D #6D230F
square
#2A6D0F #0F596D #520F6D #6D230F
split-complementary
#2A6D0F #230F6D #6D0F59
monochromatic
#0A1B04 #153708 #2A6D0F #3FA316 #53D91E
Accessibility & contrast
On white
6.38
#2A6D0F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#2A6D0F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6D0F
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6D0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6D0F | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#23695C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2a6d0f; /* rgb */ color: rgb(42, 109, 15); /* oklch */ color: oklch(47.3% 0.140 139.0);
Tailwind
colors: {
custom: {
50: '#6d9757',
500: '#2a6d0f',
950: '#000000',
},
}SCSS
$custom: #2a6d0f; $custom-light: #6d9757; $custom-dark: #000000;
JSON
{
"hex": "#2a6d0f",
"rgb": {
"r": 42,
"g": 109,
"b": 15
},
"hsl": {
"h": 102.766,
"s": 75.806,
"l": 24.314
},
"oklch": {
"l": 0.47316,
"c": 0.14014,
"h": 139
},
"luminance": 0.11464
}Semantic roles & 50–950 ramp
primary
#2A6D0F
secondary
#8433A5
accent
#35F2BC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79