#1B7D2B#1B7D2B
#1B7D2B is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.148 H 145.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1B7D2B |
|---|---|
| RGB | rgb(27, 125, 43) |
| HSL | hsl(130, 64%, 30%) |
| HSV | hsv(130, 78%, 49%) |
| CMYK | cmyk(78.4%, 0%, 65.6%, 51%) |
| CIE-LAB | lab(45.73, -44.98, 35.98) |
| CIE-LCH | lch(45.73, 57.60, 141.34°) |
| OKLab | oklab(51.73% -0.1213 0.084) |
| OKLCH | oklch(51.73% 0.148 145.3) |
| XYZ | xyz(8.2211, 15.0737, 4.7613) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.24
Tree Green
#2A7E19
ΔE00 3.28
Green
#008000
ΔE00 4.48
Jungle Green
#048243
ΔE00 4.68
Forestgreen (CSS)
#228B22
ΔE00 5.66
Dark Grass Green
#388004
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B7D2B #7D1B6D
analogous
#3C7D1B #1B7D2B #1B7D5C
triadic
#1B7D2B #2B1B7D #7D2B1B
tetradic
#1B7D2B #1B3C7D #7D1B6D #7D5C1B
square
#1B7D2B #1B3C7D #7D1B6D #7D5C1B
split-complementary
#1B7D2B #5C1B7D #7D1B3C
monochromatic
#051909 #104B1A #1B7D2B #26AF3C #3DD556
Accessibility & contrast
On white
5.23
#1B7D2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#1B7D2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B7D2B
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B7D2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B7D2B | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7121
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #1b7d2b; /* rgb */ color: rgb(27, 125, 43); /* oklch */ color: oklch(51.7% 0.148 145.3);
Tailwind
colors: {
custom: {
50: '#69a468',
500: '#1b7d2b',
950: '#000000',
},
}SCSS
$custom: #1b7d2b; $custom-light: #69a468; $custom-dark: #000000;
JSON
{
"hex": "#1b7d2b",
"rgb": {
"r": 27,
"g": 125,
"b": 43
},
"hsl": {
"h": 129.796,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.51732,
"c": 0.14754,
"h": 145.3
},
"luminance": 0.15075
}Semantic roles & 50–950 ramp
primary
#1B7D2B
secondary
#B1439F
accent
#40CCE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A