#2C951F#2C951F
#2C951F is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.179 H 141.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2C951F |
|---|---|
| RGB | rgb(44, 149, 31) |
| HSL | hsl(113, 66%, 35%) |
| HSV | hsv(113, 79%, 58%) |
| CMYK | cmyk(70.5%, 0%, 79.2%, 41.6%) |
| CIE-LAB | lab(54.16, -51.36, 49.67) |
| CIE-LCH | lch(54.16, 71.45, 135.96°) |
| OKLab | oklab(58.8% -0.1401 0.111) |
| OKLCH | oklch(58.8% 0.179 141.6) |
| XYZ | xyz(12.0328, 22.1280, 4.9331) |
| Luminance | 0.2213 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 1.94
Irish Green
#019529
ΔE00 2.46
Emerald Green
#028F1E
ΔE00 3.00
Grass Green
#3F9B0B
ΔE00 3.51
Forestgreen (CSS)
#228B22
ΔE00 3.79
Grassy Green
#419C03
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C951F #881F95
analogous
#67951F #2C951F #1F954D
triadic
#2C951F #1F2C95 #951F2C
tetradic
#2C951F #1F6795 #881F95 #954D1F
square
#2C951F #1F6795 #881F95 #954D1F
split-complementary
#2C951F #4D1F95 #951F67
monochromatic
#0E300A #1D6214 #2C951F #3BC82A #62DB53
Accessibility & contrast
On white
3.87
#2C951F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#2C951F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C951F
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C951F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C951F | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8D7E2D
Tritanopia (blue-blind)
#12907F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #2c951f; /* rgb */ color: rgb(44, 149, 31); /* oklch */ color: oklch(58.8% 0.179 141.6);
Tailwind
colors: {
custom: {
50: '#76b564',
500: '#2c951f',
950: '#000000',
},
}SCSS
$custom: #2c951f; $custom-light: #76b564; $custom-dark: #000000;
JSON
{
"hex": "#2c951f",
"rgb": {
"r": 44,
"g": 149,
"b": 31
},
"hsl": {
"h": 113.39,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.588,
"c": 0.17878,
"h": 141.6
},
"luminance": 0.22129
}Semantic roles & 50–950 ramp
primary
#2C951F
secondary
#B351BF
accent
#3FE9D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A