#23781C#23781C
#23781C is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.149 H 142.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #23781C |
|---|---|
| RGB | rgb(35, 120, 28) |
| HSL | hsl(115, 62%, 29%) |
| HSV | hsv(115, 77%, 47%) |
| CMYK | cmyk(70.8%, 0%, 76.7%, 52.9%) |
| CIE-LAB | lab(44.05, -43.25, 40.71) |
| CIE-LCH | lch(44.05, 59.40, 136.73°) |
| OKLab | oklab(50.35% -0.1178 0.092) |
| OKLCH | oklch(50.35% 0.149 142) |
| XYZ | xyz(7.6188, 13.8733, 3.3747) |
| Luminance | 0.1387 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.41
Green
#008000
ΔE00 3.78
Darkish Green
#287C37
ΔE00 4.25
Dark Grass Green
#388004
ΔE00 4.90
Forestgreen (CSS)
#228B22
ΔE00 6.72
Darkgreen
#006400
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23781C #711C78
analogous
#51781C #23781C #1C7843
triadic
#23781C #1C2378 #781C23
tetradic
#23781C #1C5178 #711C78 #78431C
square
#23781C #1C5178 #711C78 #78431C
split-complementary
#23781C #431C78 #781C51
monochromatic
#071906 #154610 #23781C #31AA28 #48D23D
Accessibility & contrast
On white
5.56
#23781C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#23781C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #23781C
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23781C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23781C | 1.00 | 5.56 | 3.77 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C0A
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#0F7466
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #23781c; /* rgb */ color: rgb(35, 120, 28); /* oklch */ color: oklch(50.3% 0.149 142.0);
Tailwind
colors: {
custom: {
50: '#6ba05f',
500: '#23781c',
950: '#000000',
},
}SCSS
$custom: #23781c; $custom-light: #6ba05f; $custom-dark: #000000;
JSON
{
"hex": "#23781c",
"rgb": {
"r": 35,
"g": 120,
"b": 28
},
"hsl": {
"h": 115.435,
"s": 62.162,
"l": 29.02
},
"oklch": {
"l": 0.50345,
"c": 0.14948,
"h": 142
},
"luminance": 0.13874
}Semantic roles & 50–950 ramp
primary
#23781C
secondary
#A444AC
accent
#43E5D9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F05
muted
#7A7E79