#2A6A16#2A6A16
#2A6A16 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.133 H 139.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6A16 |
|---|---|
| RGB | rgb(42, 106, 22) |
| HSL | hsl(106, 66%, 25%) |
| HSV | hsv(106, 79%, 42%) |
| CMYK | cmyk(60.4%, 0%, 79.2%, 58.4%) |
| CIE-LAB | lab(39.34, -36.68, 38.38) |
| CIE-LCH | lch(39.34, 53.09, 133.71°) |
| OKLab | oklab(46.49% -0.1009 0.0862) |
| OKLCH | oklch(46.49% 0.133 139.5) |
| XYZ | xyz(6.2534, 10.8577, 2.5251) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.52
Deep Green
#02590F
ΔE00 6.36
Tree Green
#2A7E19
ΔE00 6.89
Forest
#0B5509
ΔE00 7.17
Forest Green
#2D5A27
ΔE00 7.29
Darkish Green
#287C37
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6A16 #56166A
analogous
#546A16 #2A6A16 #166A2C
triadic
#2A6A16 #162A6A #6A162A
tetradic
#2A6A16 #16546A #56166A #6A2C16
square
#2A6A16 #16546A #56166A #6A2C16
split-complementary
#2A6A16 #2C166A #6A1654
monochromatic
#0A1905 #16370B #2A6A16 #3E9D21 #52CF2B
Accessibility & contrast
On white
6.62
#2A6A16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#2A6A16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6A16
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6A16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6A16 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6005
Deuteranopia (green-blind)
#655B1F
Tritanopia (blue-blind)
#23665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a6a16; /* rgb */ color: rgb(42, 106, 22); /* oklch */ color: oklch(46.5% 0.133 139.5);
Tailwind
colors: {
custom: {
50: '#6c955a',
500: '#2a6a16',
950: '#000000',
},
}SCSS
$custom: #2a6a16; $custom-light: #6c955a; $custom-dark: #000000;
JSON
{
"hex": "#2a6a16",
"rgb": {
"r": 42,
"g": 106,
"b": 22
},
"hsl": {
"h": 105.714,
"s": 65.625,
"l": 25.098
},
"oklch": {
"l": 0.46493,
"c": 0.13268,
"h": 139.5
},
"luminance": 0.10858
}Semantic roles & 50–950 ramp
primary
#2A6A16
secondary
#883BA0
accent
#3FE9C0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79