#2C8235#2C8235
#2C8235 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.140 H 145.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2C8235 |
|---|---|
| RGB | rgb(44, 130, 53) |
| HSL | hsl(126, 49%, 34%) |
| HSV | hsv(126, 66%, 51%) |
| CMYK | cmyk(66.2%, 0%, 59.2%, 49%) |
| CIE-LAB | lab(47.95, -42.29, 33.77) |
| CIE-LCH | lch(47.95, 54.12, 141.40°) |
| OKLab | oklab(53.72% -0.1144 0.0801) |
| OKLCH | oklch(53.72% 0.14 145) |
| XYZ | xyz(9.6633, 16.7568, 6.0926) |
| Luminance | 0.1676 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.48
Jungle Green
#048243
ΔE00 4.06
Tree Green
#2A7E19
ΔE00 4.06
Forestgreen (CSS)
#228B22
ΔE00 4.66
Green
#008000
ΔE00 5.54
Emerald Green
#028F1E
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C8235 #822C79
analogous
#4E822C #2C8235 #2C8260
triadic
#2C8235 #352C82 #82352C
tetradic
#2C8235 #2C4E82 #822C79 #82602C
square
#2C8235 #2C4E82 #822C79 #82602C
split-complementary
#2C8235 #602C82 #822C4E
monochromatic
#0D2710 #1D5422 #2C8235 #3BB048 #5FC96A
Accessibility & contrast
On white
4.83
#2C8235 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#2C8235 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C8235
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C8235 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C8235 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84762D
Deuteranopia (green-blind)
#7A6F3B
Tritanopia (blue-blind)
#167F71
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #2c8235; /* rgb */ color: rgb(44, 130, 53); /* oklch */ color: oklch(53.7% 0.140 145.0);
Tailwind
colors: {
custom: {
50: '#70a76f',
500: '#2c8235',
950: '#000000',
},
}SCSS
$custom: #2c8235; $custom-light: #70a76f; $custom-dark: #000000;
JSON
{
"hex": "#2c8235",
"rgb": {
"r": 44,
"g": 130,
"b": 53
},
"hsl": {
"h": 126.279,
"s": 49.425,
"l": 34.118
},
"oklch": {
"l": 0.53717,
"c": 0.13967,
"h": 145
},
"luminance": 0.16758
}Semantic roles & 50–950 ramp
primary
#2C8235
secondary
#AF5BA6
accent
#4FCBD9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A