#2A5F10#2A5F10
#2A5F10 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.3% C 0.122 H 137.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F10 |
|---|---|
| RGB | rgb(42, 95, 16) |
| HSL | hsl(100, 71%, 22%) |
| HSV | hsv(100, 83%, 37%) |
| CMYK | cmyk(55.8%, 0%, 83.2%, 62.7%) |
| CIE-LAB | lab(35.43, -32.58, 36.78) |
| CIE-LCH | lch(35.43, 49.14, 131.54°) |
| OKLab | oklab(43.25% -0.0902 0.0819) |
| OKLCH | oklch(43.25% 0.122 137.8) |
| XYZ | xyz(5.1404, 8.7137, 1.9011) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.86
Deep Green
#02590F
ΔE00 4.20
Forest
#0B5509
ΔE00 4.33
Forest Green
#2D5A27
ΔE00 5.11
Navy Green
#35530A
ΔE00 5.15
Camouflage Green
#4B6113
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F10 #45105F
analogous
#525F10 #2A5F10 #105F1E
triadic
#2A5F10 #102A5F #5F102A
tetradic
#2A5F10 #10525F #45105F #5F1E10
square
#2A5F10 #10525F #45105F #5F1E10
split-complementary
#2A5F10 #1E105F #5F1052
monochromatic
#0C1A04 #132B07 #2A5F10 #419319 #58C822
Accessibility & contrast
On white
7.66
#2A5F10 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2A5F10 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5F10
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F10 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5B5219
Tritanopia (blue-blind)
#265B50
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a5f10; /* rgb */ color: rgb(42, 95, 16); /* oklch */ color: oklch(43.3% 0.122 137.8);
Tailwind
colors: {
custom: {
50: '#6a8d55',
500: '#2a5f10',
950: '#000000',
},
}SCSS
$custom: #2a5f10; $custom-light: #6a8d55; $custom-dark: #000000;
JSON
{
"hex": "#2a5f10",
"rgb": {
"r": 42,
"g": 95,
"b": 16
},
"hsl": {
"h": 100.253,
"s": 71.171,
"l": 21.765
},
"oklch": {
"l": 0.43254,
"c": 0.12186,
"h": 137.8
},
"luminance": 0.08714
}Semantic roles & 50–950 ramp
primary
#2A5F10
secondary
#773398
accent
#3AEEB3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78