#2C731F#2C731F
#2C731F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.138 H 140.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2C731F |
|---|---|
| RGB | rgb(44, 115, 31) |
| HSL | hsl(111, 58%, 29%) |
| HSV | hsv(111, 73%, 45%) |
| CMYK | cmyk(61.7%, 0%, 73%, 54.9%) |
| CIE-LAB | lab(42.60, -38.95, 38.10) |
| CIE-LCH | lch(42.60, 54.48, 135.63°) |
| OKLab | oklab(49.23% -0.1066 0.0869) |
| OKLCH | oklch(49.23% 0.138 140.8) |
| XYZ | xyz(7.4164, 12.8952, 3.3943) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.09
Darkish Green
#287C37
ΔE00 4.68
Green
#008000
ΔE00 5.66
Darkgreen
#006400
ΔE00 5.82
Dark Grass Green
#388004
ΔE00 6.08
Jungle Green
#048243
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C731F #661F73
analogous
#56731F #2C731F #1F733C
triadic
#2C731F #1F2C73 #731F2C
tetradic
#2C731F #1F5673 #661F73 #733C1F
square
#2C731F #1F5673 #661F73 #733C1F
split-complementary
#2C731F #3C1F73 #731F56
monochromatic
#091806 #1A4312 #2C731F #3EA32C #56CC41
Accessibility & contrast
On white
5.87
#2C731F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#2C731F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C731F
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C731F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C731F | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#226F62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2c731f; /* rgb */ color: rgb(44, 115, 31); /* oklch */ color: oklch(49.2% 0.138 140.8);
Tailwind
colors: {
custom: {
50: '#6e9c60',
500: '#2c731f',
950: '#000000',
},
}SCSS
$custom: #2c731f; $custom-light: #6e9c60; $custom-dark: #000000;
JSON
{
"hex": "#2c731f",
"rgb": {
"r": 44,
"g": 115,
"b": 31
},
"hsl": {
"h": 110.714,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.4923,
"c": 0.1375,
"h": 140.8
},
"luminance": 0.12896
}Semantic roles & 50–950 ramp
primary
#2C731F
secondary
#9847A7
accent
#47E1C9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79