#2A681C#2A681C
#2A681C is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.126 H 140.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2A681C |
|---|---|
| RGB | rgb(42, 104, 28) |
| HSL | hsl(109, 58%, 26%) |
| HSV | hsv(109, 73%, 41%) |
| CMYK | cmyk(59.6%, 0%, 73.1%, 59.2%) |
| CIE-LAB | lab(38.68, -35.36, 35.26) |
| CIE-LCH | lch(38.68, 49.94, 135.08°) |
| OKLab | oklab(45.97% -0.0969 0.0805) |
| OKLCH | oklch(45.97% 0.126 140.3) |
| XYZ | xyz(6.1145, 10.4762, 2.7983) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.67
Deep Green
#02590F
ΔE00 5.61
Forest Green
#2D5A27
ΔE00 6.11
Forest
#0B5509
ΔE00 6.47
Darkish Green
#287C37
ΔE00 7.40
Tree Green
#2A7E19
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A681C #5A1C68
analogous
#50681C #2A681C #1C6834
triadic
#2A681C #1C2A68 #681C2A
tetradic
#2A681C #1C5068 #5A1C68 #68341C
square
#2A681C #1C5068 #5A1C68 #68341C
split-complementary
#2A681C #341C68 #681C50
monochromatic
#0A1806 #17380F #2A681C #3D9829 #51C836
Accessibility & contrast
On white
6.78
#2A681C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2A681C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A681C
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A681C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A681C | 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)
#6B5E11
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#226459
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a681c; /* rgb */ color: rgb(42, 104, 28); /* oklch */ color: oklch(46.0% 0.126 140.3);
Tailwind
colors: {
custom: {
50: '#6b945d',
500: '#2a681c',
950: '#000000',
},
}SCSS
$custom: #2a681c; $custom-light: #6b945d; $custom-dark: #000000;
JSON
{
"hex": "#2a681c",
"rgb": {
"r": 42,
"g": 104,
"b": 28
},
"hsl": {
"h": 108.947,
"s": 57.576,
"l": 25.882
},
"oklch": {
"l": 0.45966,
"c": 0.12602,
"h": 140.3
},
"luminance": 0.10477
}Semantic roles & 50–950 ramp
primary
#2A681C
secondary
#8C439D
accent
#47E1C4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79