#2A681B#2A681B
#2A681B is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.127 H 140.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A681B |
|---|---|
| RGB | rgb(42, 104, 27) |
| HSL | hsl(108, 59%, 26%) |
| HSV | hsv(108, 74%, 41%) |
| CMYK | cmyk(59.6%, 0%, 74%, 59.2%) |
| CIE-LAB | lab(38.68, -35.46, 35.69) |
| CIE-LCH | lch(38.68, 50.31, 134.81°) |
| OKLab | oklab(45.96% -0.0972 0.0813) |
| OKLCH | oklch(45.96% 0.127 140.1) |
| XYZ | xyz(6.1027, 10.4715, 2.7363) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.59
Deep Green
#02590F
ΔE00 5.63
Forest Green
#2D5A27
ΔE00 6.21
Forest
#0B5509
ΔE00 6.47
Darkish Green
#287C37
ΔE00 7.47
Tree Green
#2A7E19
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A681B #591B68
analogous
#50681B #2A681B #1B6832
triadic
#2A681B #1B2A68 #681B2A
tetradic
#2A681B #1B5068 #591B68 #68321B
square
#2A681B #1B5068 #591B68 #68321B
split-complementary
#2A681B #321B68 #681B50
monochromatic
#0A1806 #16370E #2A681B #3E9928 #51C934
Accessibility & contrast
On white
6.79
#2A681B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#2A681B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A681B
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A681B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A681B | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E0F
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#236459
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a681b; /* rgb */ color: rgb(42, 104, 27); /* oklch */ color: oklch(46.0% 0.127 140.1);
Tailwind
colors: {
custom: {
50: '#6b945c',
500: '#2a681b',
950: '#000000',
},
}SCSS
$custom: #2a681b; $custom-light: #6b945c; $custom-dark: #000000;
JSON
{
"hex": "#2a681b",
"rgb": {
"r": 42,
"g": 104,
"b": 27
},
"hsl": {
"h": 108.312,
"s": 58.779,
"l": 25.686
},
"oklch": {
"l": 0.45957,
"c": 0.12674,
"h": 140.1
},
"luminance": 0.10472
}Semantic roles & 50–950 ramp
primary
#2A681B
secondary
#8B429D
accent
#46E2C4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79