#2A6B13#2A6B13
#2A6B13 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.136 H 139.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6B13 |
|---|---|
| RGB | rgb(42, 107, 19) |
| HSL | hsl(104, 70%, 25%) |
| HSV | hsv(104, 82%, 42%) |
| CMYK | cmyk(60.7%, 0%, 82.2%, 58%) |
| CIE-LAB | lab(39.67, -37.29, 39.78) |
| CIE-LCH | lch(39.67, 54.53, 133.15°) |
| OKLab | oklab(46.76% -0.1027 0.0886) |
| OKLCH | oklch(46.76% 0.136 139.2) |
| XYZ | xyz(6.3298, 11.0541, 2.4161) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.63
Tree Green
#2A7E19
ΔE00 6.51
Deep Green
#02590F
ΔE00 6.77
Darkish Green
#287C37
ΔE00 7.30
Forest
#0B5509
ΔE00 7.56
Green
#008000
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6B13 #54136B
analogous
#566B13 #2A6B13 #136B28
triadic
#2A6B13 #132A6B #6B132A
tetradic
#2A6B13 #13566B #54136B #6B2813
square
#2A6B13 #13566B #54136B #6B2813
split-complementary
#2A6B13 #28136B #6B1356
monochromatic
#0A1A05 #16370A #2A6B13 #3E9F1C #53D325
Accessibility & contrast
On white
6.54
#2A6B13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#2A6B13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6B13
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6B13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6B13 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#23675B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a6b13; /* rgb */ color: rgb(42, 107, 19); /* oklch */ color: oklch(46.8% 0.136 139.2);
Tailwind
colors: {
custom: {
50: '#6c9659',
500: '#2a6b13',
950: '#000000',
},
}SCSS
$custom: #2a6b13; $custom-light: #6c9659; $custom-dark: #000000;
JSON
{
"hex": "#2a6b13",
"rgb": {
"r": 42,
"g": 107,
"b": 19
},
"hsl": {
"h": 104.318,
"s": 69.841,
"l": 24.706
},
"oklch": {
"l": 0.46761,
"c": 0.13568,
"h": 139.2
},
"luminance": 0.11055
}Semantic roles & 50–950 ramp
primary
#2A6B13
secondary
#8638A2
accent
#3BEDBE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79