#2A6723#2A6723
#2A6723 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.8% C 0.119 H 141.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6723 |
|---|---|
| RGB | rgb(42, 103, 35) |
| HSL | hsl(114, 49%, 27%) |
| HSV | hsv(114, 66%, 40%) |
| CMYK | cmyk(59.2%, 0%, 66%, 59.6%) |
| CIE-LAB | lab(38.40, -34.20, 31.70) |
| CIE-LCH | lch(38.40, 46.63, 137.18°) |
| OKLab | oklab(45.75% -0.0933 0.0739) |
| OKLCH | oklch(45.75% 0.119 141.6) |
| XYZ | xyz(6.1082, 10.3136, 3.2586) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.45
Forest Green
#2D5A27
ΔE00 5.11
Deep Green
#02590F
ΔE00 5.35
Forest
#0B5509
ΔE00 6.29
Pine
#2B5D34
ΔE00 6.49
Darkish Green
#287C37
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6723 #602367
analogous
#4C6723 #2A6723 #23673E
triadic
#2A6723 #232A67 #67232A
tetradic
#2A6723 #234C67 #602367 #673E23
square
#2A6723 #234C67 #602367 #673E23
split-complementary
#2A6723 #3E2367 #67234C
monochromatic
#091708 #173913 #2A6723 #3D9533 #51C045
Accessibility & contrast
On white
6.86
#2A6723 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2A6723 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6723
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6723 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6723 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E1B
Deuteranopia (green-blind)
#625829
Tritanopia (blue-blind)
#226459
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a6723; /* rgb */ color: rgb(42, 103, 35); /* oklch */ color: oklch(45.8% 0.119 141.6);
Tailwind
colors: {
custom: {
50: '#6b9361',
500: '#2a6723',
950: '#000000',
},
}SCSS
$custom: #2a6723; $custom-light: #6b9361; $custom-dark: #000000;
JSON
{
"hex": "#2a6723",
"rgb": {
"r": 42,
"g": 103,
"b": 35
},
"hsl": {
"h": 113.824,
"s": 49.275,
"l": 27.059
},
"oklch": {
"l": 0.45753,
"c": 0.11905,
"h": 141.6
},
"luminance": 0.10314
}Semantic roles & 50–950 ramp
primary
#2A6723
secondary
#924B9B
accent
#4FD9CB
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79