#1B7C2F#1B7C2F
#1B7C2F is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.143 H 146.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #1B7C2F |
|---|---|
| RGB | rgb(27, 124, 47) |
| HSL | hsl(132, 64%, 30%) |
| HSV | hsv(132, 78%, 49%) |
| CMYK | cmyk(78.2%, 0%, 62.1%, 51.4%) |
| CIE-LAB | lab(45.43, -44.11, 33.71) |
| CIE-LCH | lch(45.43, 55.51, 142.62°) |
| OKLab | oklab(51.49% -0.1188 0.0795) |
| OKLCH | oklch(51.49% 0.143 146.2) |
| XYZ | xyz(8.1721, 14.8526, 5.1249) |
| Luminance | 0.1485 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.55
Tree Green
#2A7E19
ΔE00 4.08
Jungle Green
#048243
ΔE00 4.13
Green
#008000
ΔE00 5.32
Forestgreen (CSS)
#228B22
ΔE00 6.36
Dark Grass Green
#388004
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B7C2F #7C1B68
analogous
#387C1B #1B7C2F #1B7C60
triadic
#1B7C2F #2F1B7C #7C2F1B
tetradic
#1B7C2F #1B387C #7C1B68 #7C601B
square
#1B7C2F #1B387C #7C1B68 #7C601B
split-complementary
#1B7C2F #601B7C #7C1B38
monochromatic
#05190A #104A1C #1B7C2F #26AE42 #3DD55C
Accessibility & contrast
On white
5.29
#1B7C2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#1B7C2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B7C2F
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B7C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B7C2F | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #1b7c2f; /* rgb */ color: rgb(27, 124, 47); /* oklch */ color: oklch(51.5% 0.143 146.2);
Tailwind
colors: {
custom: {
50: '#69a36a',
500: '#1b7c2f',
950: '#000000',
},
}SCSS
$custom: #1b7c2f; $custom-light: #69a36a; $custom-dark: #000000;
JSON
{
"hex": "#1b7c2f",
"rgb": {
"r": 27,
"g": 124,
"b": 47
},
"hsl": {
"h": 132.371,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.51494,
"c": 0.14295,
"h": 146.2
},
"luminance": 0.14854
}Semantic roles & 50–950 ramp
primary
#1B7C2F
secondary
#B04399
accent
#41C5E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A