#2C741B#2C741B
#2C741B is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.141 H 140.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2C741B |
|---|---|
| RGB | rgb(44, 116, 27) |
| HSL | hsl(109, 62%, 28%) |
| HSV | hsv(109, 77%, 45%) |
| CMYK | cmyk(62.1%, 0%, 76.7%, 54.5%) |
| CIE-LAB | lab(42.92, -39.68, 40.05) |
| CIE-LCH | lch(42.92, 56.38, 134.74°) |
| OKLab | oklab(49.48% -0.1088 0.0904) |
| OKLCH | oklch(49.48% 0.141 140.3) |
| XYZ | xyz(7.4816, 13.1047, 3.1719) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.57
Darkish Green
#287C37
ΔE00 4.99
Green
#008000
ΔE00 5.09
Dark Grass Green
#388004
ΔE00 5.43
Darkgreen
#006400
ΔE00 6.00
Forestgreen (CSS)
#228B22
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C741B #631B74
analogous
#58741B #2C741B #1B7436
triadic
#2C741B #1B2C74 #741B2C
tetradic
#2C741B #1B5874 #631B74 #74361B
square
#2C741B #1B5874 #631B74 #74361B
split-complementary
#2C741B #361B74 #741B58
monochromatic
#091906 #19420F #2C741B #3FA627 #56D139
Accessibility & contrast
On white
5.80
#2C741B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#2C741B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C741B
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C741B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C741B | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77690A
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#227063
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2c741b; /* rgb */ color: rgb(44, 116, 27); /* oklch */ color: oklch(49.5% 0.141 140.3);
Tailwind
colors: {
custom: {
50: '#6f9d5e',
500: '#2c741b',
950: '#000000',
},
}SCSS
$custom: #2c741b; $custom-light: #6f9d5e; $custom-dark: #000000;
JSON
{
"hex": "#2c741b",
"rgb": {
"r": 44,
"g": 116,
"b": 27
},
"hsl": {
"h": 108.539,
"s": 62.238,
"l": 28.039
},
"oklch": {
"l": 0.49481,
"c": 0.14145,
"h": 140.3
},
"luminance": 0.13105
}Semantic roles & 50–950 ramp
primary
#2C741B
secondary
#9542A9
accent
#42E5C6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79