#2C851B#2C851B
#2C851B is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.162 H 140.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2C851B |
|---|---|
| RGB | rgb(44, 133, 27) |
| HSL | hsl(110, 66%, 31%) |
| HSV | hsv(110, 80%, 52%) |
| CMYK | cmyk(66.9%, 0%, 79.7%, 47.8%) |
| CIE-LAB | lab(48.75, -46.03, 45.78) |
| CIE-LCH | lch(48.75, 64.93, 135.16°) |
| OKLab | oklab(54.3% -0.1259 0.1024) |
| OKLCH | oklch(54.3% 0.162 140.9) |
| XYZ | xyz(9.6236, 17.3887, 3.8859) |
| Luminance | 0.1739 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.31
Tree Green
#2A7E19
ΔE00 2.50
Dark Grass Green
#388004
ΔE00 3.01
Green
#008000
ΔE00 3.03
Emerald Green
#028F1E
ΔE00 3.85
True Green
#089404
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C851B #741B85
analogous
#61851B #2C851B #1B853F
triadic
#2C851B #1B2C85 #851B2C
tetradic
#2C851B #1B6185 #741B85 #853F1B
square
#2C851B #1B6185 #741B85 #853F1B
split-complementary
#2C851B #3F1B85 #851B61
monochromatic
#0A1F06 #1B5211 #2C851B #3DB825 #5AD942
Accessibility & contrast
On white
4.69
#2C851B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#2C851B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C851B
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C851B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C851B | 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)
#7E7127
Tritanopia (blue-blind)
#1C8171
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2c851b; /* rgb */ color: rgb(44, 133, 27); /* oklch */ color: oklch(54.3% 0.162 140.9);
Tailwind
colors: {
custom: {
50: '#72a960',
500: '#2c851b',
950: '#000000',
},
}SCSS
$custom: #2c851b; $custom-light: #72a960; $custom-dark: #000000;
JSON
{
"hex": "#2c851b",
"rgb": {
"r": 44,
"g": 133,
"b": 27
},
"hsl": {
"h": 110.377,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.54302,
"c": 0.16228,
"h": 140.9
},
"luminance": 0.1739
}Semantic roles & 50–950 ramp
primary
#2C851B
secondary
#A644B8
accent
#3FE9CE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79