#2A681F#2A681F
#2A681F is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.124 H 140.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2A681F |
|---|---|
| RGB | rgb(42, 104, 31) |
| HSL | hsl(111, 54%, 26%) |
| HSV | hsv(111, 70%, 41%) |
| CMYK | cmyk(59.6%, 0%, 70.2%, 59.2%) |
| CIE-LAB | lab(38.71, -35.06, 33.94) |
| CIE-LCH | lch(38.71, 48.80, 135.93°) |
| OKLab | oklab(46% -0.0959 0.0782) |
| OKLCH | oklch(46% 0.124 140.8) |
| XYZ | xyz(6.1522, 10.4913, 2.9969) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.95
Deep Green
#02590F
ΔE00 5.57
Forest Green
#2D5A27
ΔE00 5.82
Forest
#0B5509
ΔE00 6.47
Darkish Green
#287C37
ΔE00 7.22
Pine
#2B5D34
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A681F #5D1F68
analogous
#4F681F #2A681F #1F6839
triadic
#2A681F #1F2A68 #681F2A
tetradic
#2A681F #1F4F68 #5D1F68 #68391F
square
#2A681F #1F4F68 #5D1F68 #68391F
split-complementary
#2A681F #391F68 #681F4F
monochromatic
#0A1807 #173911 #2A681F #3D972D #51C53C
Accessibility & contrast
On white
6.78
#2A681F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2A681F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A681F
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A681F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A681F | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E15
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#226559
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a681f; /* rgb */ color: rgb(42, 104, 31); /* oklch */ color: oklch(46.0% 0.124 140.8);
Tailwind
colors: {
custom: {
50: '#6b945f',
500: '#2a681f',
950: '#000000',
},
}SCSS
$custom: #2a681f; $custom-light: #6b945f; $custom-dark: #000000;
JSON
{
"hex": "#2a681f",
"rgb": {
"r": 42,
"g": 104,
"b": 31
},
"hsl": {
"h": 110.959,
"s": 54.074,
"l": 26.471
},
"oklch": {
"l": 0.45996,
"c": 0.12374,
"h": 140.8
},
"luminance": 0.10492
}Semantic roles & 50–950 ramp
primary
#2A681F
secondary
#8F469C
accent
#4ADDC7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79