#2A5F19#2A5F19
#2A5F19 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.116 H 139.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F19 |
|---|---|
| RGB | rgb(42, 95, 25) |
| HSL | hsl(105, 58%, 24%) |
| HSV | hsv(105, 74%, 37%) |
| CMYK | cmyk(55.8%, 0%, 73.7%, 62.7%) |
| CIE-LAB | lab(35.49, -31.86, 33.23) |
| CIE-LCH | lch(35.49, 46.04, 133.79°) |
| OKLab | oklab(43.33% -0.0877 0.0759) |
| OKLCH | oklch(43.33% 0.116 139.1) |
| XYZ | xyz(5.2223, 8.7464, 2.3326) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.82
Forest Green
#2D5A27
ΔE00 3.88
Forest
#0B5509
ΔE00 4.16
Darkgreen
#006400
ΔE00 4.35
Navy Green
#35530A
ΔE00 5.53
Pine
#2B5D34
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F19 #4E195F
analogous
#4D5F19 #2A5F19 #195F2B
triadic
#2A5F19 #192A5F #5F192A
tetradic
#2A5F19 #194D5F #4E195F #5F2B19
square
#2A5F19 #194D5F #4E195F #5F2B19
split-complementary
#2A5F19 #2B195F #5F194D
monochromatic
#0B1806 #152F0C #2A5F19 #3F8F26 #55C032
Accessibility & contrast
On white
7.64
#2A5F19 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2A5F19 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5F19
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F19 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62560F
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#255C51
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a5f19; /* rgb */ color: rgb(42, 95, 25); /* oklch */ color: oklch(43.3% 0.116 139.1);
Tailwind
colors: {
custom: {
50: '#6a8d5a',
500: '#2a5f19',
950: '#000000',
},
}SCSS
$custom: #2a5f19; $custom-light: #6a8d5a; $custom-dark: #000000;
JSON
{
"hex": "#2a5f19",
"rgb": {
"r": 42,
"g": 95,
"b": 25
},
"hsl": {
"h": 105.429,
"s": 58.333,
"l": 23.529
},
"oklch": {
"l": 0.43327,
"c": 0.11593,
"h": 139.1
},
"luminance": 0.08747
}Semantic roles & 50–950 ramp
primary
#2A5F19
secondary
#803F95
accent
#46E2BC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79