#2C851A#2C851A
#2C851A is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.163 H 140.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2C851A |
|---|---|
| RGB | rgb(44, 133, 26) |
| HSL | hsl(110, 67%, 31%) |
| HSV | hsv(110, 80%, 52%) |
| CMYK | cmyk(66.9%, 0%, 80.5%, 47.8%) |
| CIE-LAB | lab(48.74, -46.10, 46.11) |
| CIE-LCH | lch(48.74, 65.21, 134.99°) |
| OKLab | oklab(54.3% -0.1262 0.1029) |
| OKLCH | oklch(54.3% 0.163 140.8) |
| XYZ | xyz(9.6122, 17.3841, 3.8260) |
| Luminance | 0.1739 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.34
Tree Green
#2A7E19
ΔE00 2.52
Dark Grass Green
#388004
ΔE00 2.93
Green
#008000
ΔE00 3.00
Emerald Green
#028F1E
ΔE00 3.86
True Green
#089404
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C851A #731A85
analogous
#61851A #2C851A #1A853D
triadic
#2C851A #1A2C85 #851A2C
tetradic
#2C851A #1A6185 #731A85 #853D1A
square
#2C851A #1A6185 #731A85 #853D1A
split-complementary
#2C851A #3D1A85 #851A61
monochromatic
#0A1F06 #1B5210 #2C851A #3DB824 #5ADA40
Accessibility & contrast
On white
4.69
#2C851A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#2C851A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C851A
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C851A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C851A | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#1C8171
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2c851a; /* rgb */ color: rgb(44, 133, 26); /* oklch */ color: oklch(54.3% 0.163 140.8);
Tailwind
colors: {
custom: {
50: '#72a960',
500: '#2c851a',
950: '#000000',
},
}SCSS
$custom: #2c851a; $custom-light: #72a960; $custom-dark: #000000;
JSON
{
"hex": "#2c851a",
"rgb": {
"r": 44,
"g": 133,
"b": 26
},
"hsl": {
"h": 109.907,
"s": 67.296,
"l": 31.176
},
"oklch": {
"l": 0.54295,
"c": 0.1628,
"h": 140.8
},
"luminance": 0.17385
}Semantic roles & 50–950 ramp
primary
#2C851A
secondary
#A542B8
accent
#3EEACD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79