#1B7D2D#1B7D2D
#1B7D2D is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.146 H 145.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1B7D2D |
|---|---|
| RGB | rgb(27, 125, 45) |
| HSL | hsl(131, 64%, 30%) |
| HSV | hsv(131, 78%, 49%) |
| CMYK | cmyk(78.4%, 0%, 64%, 51%) |
| CIE-LAB | lab(45.76, -44.73, 35.05) |
| CIE-LCH | lch(45.76, 56.82, 141.92°) |
| OKLab | oklab(51.76% -0.1206 0.0822) |
| OKLCH | oklch(51.76% 0.146 145.7) |
| XYZ | xyz(8.2587, 15.0887, 4.9593) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.94
Tree Green
#2A7E19
ΔE00 3.59
Jungle Green
#048243
ΔE00 4.37
Green
#008000
ΔE00 4.81
Forestgreen (CSS)
#228B22
ΔE00 5.83
Dark Grass Green
#388004
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B7D2D #7D1B6B
analogous
#3A7D1B #1B7D2D #1B7D5E
triadic
#1B7D2D #2D1B7D #7D2D1B
tetradic
#1B7D2D #1B3A7D #7D1B6B #7D5E1B
square
#1B7D2D #1B3A7D #7D1B6B #7D5E1B
split-complementary
#1B7D2D #5E1B7D #7D1B3A
monochromatic
#051909 #104B1B #1B7D2D #26AF3F #3DD559
Accessibility & contrast
On white
5.23
#1B7D2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#1B7D2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B7D2D
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B7D2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B7D2D | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7124
Deuteranopia (green-blind)
#746934
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #1b7d2d; /* rgb */ color: rgb(27, 125, 45); /* oklch */ color: oklch(51.8% 0.146 145.7);
Tailwind
colors: {
custom: {
50: '#69a469',
500: '#1b7d2d',
950: '#000000',
},
}SCSS
$custom: #1b7d2d; $custom-light: #69a469; $custom-dark: #000000;
JSON
{
"hex": "#1b7d2d",
"rgb": {
"r": 27,
"g": 125,
"b": 45
},
"hsl": {
"h": 131.02,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.51756,
"c": 0.14592,
"h": 145.7
},
"luminance": 0.1509
}Semantic roles & 50–950 ramp
primary
#1B7D2D
secondary
#B1439D
accent
#40C9E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A