#1B7C19#1B7C19
#1B7C19 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.159 H 142.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1B7C19 |
|---|---|
| RGB | rgb(27, 124, 25) |
| HSL | hsl(119, 66%, 29%) |
| HSV | hsv(119, 80%, 49%) |
| CMYK | cmyk(78.2%, 0%, 79.8%, 51.4%) |
| CIE-LAB | lab(45.24, -46.38, 42.94) |
| CIE-LCH | lch(45.24, 63.21, 137.21°) |
| OKLab | oklab(51.28% -0.126 0.0963) |
| OKLCH | oklch(51.28% 0.159 142.6) |
| XYZ | xyz(7.8346, 14.7176, 3.3474) |
| Luminance | 0.1472 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.47
Green
#008000
ΔE00 2.41
Dark Grass Green
#388004
ΔE00 4.22
Darkish Green
#287C37
ΔE00 4.55
Forestgreen (CSS)
#228B22
ΔE00 5.37
Emerald Green
#028F1E
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B7C19 #7A197C
analogous
#4D7C19 #1B7C19 #197C49
triadic
#1B7C19 #191B7C #7C191B
tetradic
#1B7C19 #194D7C #7A197C #7C4919
square
#1B7C19 #194D7C #7A197C #7C4919
split-complementary
#1B7C19 #49197C #7C194D
monochromatic
#061905 #10490F #1B7C19 #26AF23 #3CD738
Accessibility & contrast
On white
5.32
#1B7C19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#1B7C19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B7C19
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B7C19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B7C19 | 1.00 | 5.32 | 3.94 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #1b7c19; /* rgb */ color: rgb(27, 124, 25); /* oklch */ color: oklch(51.3% 0.159 142.6);
Tailwind
colors: {
custom: {
50: '#6aa35e',
500: '#1b7c19',
950: '#000000',
},
}SCSS
$custom: #1b7c19; $custom-light: #6aa35e; $custom-dark: #000000;
JSON
{
"hex": "#1b7c19",
"rgb": {
"r": 27,
"g": 124,
"b": 25
},
"hsl": {
"h": 118.788,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.51279,
"c": 0.15858,
"h": 142.6
},
"luminance": 0.14719
}Semantic roles & 50–950 ramp
primary
#1B7C19
secondary
#AE40B0
accent
#3EE9E6
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79