#2A5F13#2A5F13
#2A5F13 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.3% C 0.120 H 138.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F13 |
|---|---|
| RGB | rgb(42, 95, 19) |
| HSL | hsl(102, 67%, 22%) |
| HSV | hsv(102, 80%, 37%) |
| CMYK | cmyk(55.8%, 0%, 80%, 62.7%) |
| CIE-LAB | lab(35.45, -32.37, 35.69) |
| CIE-LCH | lch(35.45, 48.18, 132.21°) |
| OKLab | oklab(43.28% -0.0895 0.0801) |
| OKLCH | oklch(43.28% 0.12 138.2) |
| XYZ | xyz(5.1644, 8.7233, 2.0276) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.97
Deep Green
#02590F
ΔE00 4.03
Forest
#0B5509
ΔE00 4.23
Forest Green
#2D5A27
ΔE00 4.73
Navy Green
#35530A
ΔE00 5.24
Camouflage Green
#4B6113
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F13 #48135F
analogous
#505F13 #2A5F13 #135F22
triadic
#2A5F13 #132A5F #5F132A
tetradic
#2A5F13 #13505F #48135F #5F2213
square
#2A5F13 #13505F #48135F #5F2213
split-complementary
#2A5F13 #22135F #5F1350
monochromatic
#0B1A05 #132C09 #2A5F13 #41921D #57C527
Accessibility & contrast
On white
7.65
#2A5F13 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2A5F13 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5F13
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F13 | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625604
Deuteranopia (green-blind)
#5B521B
Tritanopia (blue-blind)
#265B50
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a5f13; /* rgb */ color: rgb(42, 95, 19); /* oklch */ color: oklch(43.3% 0.120 138.2);
Tailwind
colors: {
custom: {
50: '#6a8d57',
500: '#2a5f13',
950: '#000000',
},
}SCSS
$custom: #2a5f13; $custom-light: #6a8d57; $custom-dark: #000000;
JSON
{
"hex": "#2a5f13",
"rgb": {
"r": 42,
"g": 95,
"b": 19
},
"hsl": {
"h": 101.842,
"s": 66.667,
"l": 22.353
},
"oklch": {
"l": 0.43275,
"c": 0.12008,
"h": 138.2
},
"luminance": 0.08724
}Semantic roles & 50–950 ramp
primary
#2A5F13
secondary
#7A3797
accent
#3EEAB6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78