#2A6511#2A6511
#2A6511 is a mid, vivid green. Relative luminance 0.098; OKLCH L 45.0% C 0.129 H 138.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6511 |
|---|---|
| RGB | rgb(42, 101, 17) |
| HSL | hsl(102, 71%, 23%) |
| HSV | hsv(102, 83%, 40%) |
| CMYK | cmyk(58.4%, 0%, 83.2%, 60.4%) |
| CIE-LAB | lab(37.55, -35.01, 38.46) |
| CIE-LCH | lch(37.55, 52.01, 132.32°) |
| OKLab | oklab(45.01% -0.0967 0.0856) |
| OKLCH | oklch(45.01% 0.129 138.5) |
| XYZ | xyz(5.7095, 9.8396, 2.1286) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.12
Deep Green
#02590F
ΔE00 5.26
Forest
#0B5509
ΔE00 5.82
Forest Green
#2D5A27
ΔE00 6.35
Navy Green
#35530A
ΔE00 6.92
Camouflage Green
#4B6113
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6511 #4C1165
analogous
#546511 #2A6511 #116522
triadic
#2A6511 #112A65 #65112A
tetradic
#2A6511 #115465 #4C1165 #652211
square
#2A6511 #115465 #4C1165 #652211
split-complementary
#2A6511 #221165 #651154
monochromatic
#0B1A04 #143108 #2A6511 #40991A #56CE23
Accessibility & contrast
On white
7.08
#2A6511 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2A6511 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A6511
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6511 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6511 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#256155
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a6511; /* rgb */ color: rgb(42, 101, 17); /* oklch */ color: oklch(45.0% 0.129 138.5);
Tailwind
colors: {
custom: {
50: '#6b9157',
500: '#2a6511',
950: '#000000',
},
}SCSS
$custom: #2a6511; $custom-light: #6b9157; $custom-dark: #000000;
JSON
{
"hex": "#2a6511",
"rgb": {
"r": 42,
"g": 101,
"b": 17
},
"hsl": {
"h": 102.143,
"s": 71.186,
"l": 23.137
},
"oklch": {
"l": 0.45009,
"c": 0.12911,
"h": 138.5
},
"luminance": 0.0984
}Semantic roles & 50–950 ramp
primary
#2A6511
secondary
#7E359D
accent
#3AEEB8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78