#2A6E0F#2A6E0F
#2A6E0F is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.141 H 139.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6E0F |
|---|---|
| RGB | rgb(42, 110, 15) |
| HSL | hsl(103, 76%, 25%) |
| HSV | hsv(103, 86%, 43%) |
| CMYK | cmyk(61.8%, 0%, 86.4%, 56.9%) |
| CIE-LAB | lab(40.70, -38.71, 42.02) |
| CIE-LCH | lch(40.70, 57.13, 132.65°) |
| OKLab | oklab(47.61% -0.1067 0.0927) |
| OKLCH | oklch(47.61% 0.141 139) |
| XYZ | xyz(6.6167, 11.6780, 2.3572) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.27
Tree Green
#2A7E19
ΔE00 5.48
Green
#008000
ΔE00 6.56
Dark Grass Green
#388004
ΔE00 6.75
Darkish Green
#287C37
ΔE00 6.98
Deep Green
#02590F
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6E0F #530F6E
analogous
#5A6E0F #2A6E0F #0F6E23
triadic
#2A6E0F #0F2A6E #6E0F2A
tetradic
#2A6E0F #0F5A6E #530F6E #6E230F
square
#2A6E0F #0F5A6E #530F6E #6E230F
split-complementary
#2A6E0F #230F6E #6E0F5A
monochromatic
#0A1B04 #153808 #2A6E0F #3FA416 #53DA1E
Accessibility & contrast
On white
6.30
#2A6E0F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#2A6E0F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6E0F
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6E0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6E0F | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#226A5D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2a6e0f; /* rgb */ color: rgb(42, 110, 15); /* oklch */ color: oklch(47.6% 0.141 139.0);
Tailwind
colors: {
custom: {
50: '#6d9857',
500: '#2a6e0f',
950: '#000000',
},
}SCSS
$custom: #2a6e0f; $custom-light: #6d9857; $custom-dark: #000000;
JSON
{
"hex": "#2a6e0f",
"rgb": {
"r": 42,
"g": 110,
"b": 15
},
"hsl": {
"h": 102.947,
"s": 76,
"l": 24.51
},
"oklch": {
"l": 0.47605,
"c": 0.14137,
"h": 139
},
"luminance": 0.11679
}Semantic roles & 50–950 ramp
primary
#2A6E0F
secondary
#8533A6
accent
#35F3BD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79