#1B7F2D#1B7F2D
#1B7F2D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.148 H 145.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1B7F2D |
|---|---|
| RGB | rgb(27, 127, 45) |
| HSL | hsl(131, 65%, 30%) |
| HSV | hsv(131, 79%, 50%) |
| CMYK | cmyk(78.7%, 0%, 64.6%, 50.2%) |
| CIE-LAB | lab(46.45, -45.44, 35.83) |
| CIE-LCH | lch(46.45, 57.87, 141.74°) |
| OKLab | oklab(52.33% -0.1225 0.0838) |
| OKLCH | oklch(52.33% 0.148 145.6) |
| XYZ | xyz(8.5144, 15.6002, 5.0445) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.32
Tree Green
#2A7E19
ΔE00 3.38
Jungle Green
#048243
ΔE00 4.35
Green
#008000
ΔE00 4.52
Forestgreen (CSS)
#228B22
ΔE00 5.12
Dark Grass Green
#388004
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B7F2D #7F1B6D
analogous
#3B7F1B #1B7F2D #1B7F5F
triadic
#1B7F2D #2D1B7F #7F2D1B
tetradic
#1B7F2D #1B3B7F #7F1B6D #7F5F1B
square
#1B7F2D #1B3B7F #7F1B6D #7F5F1B
split-complementary
#1B7F2D #5F1B7F #7F1B3B
monochromatic
#061A09 #104D1B #1B7F2D #26B13F #3ED65A
Accessibility & contrast
On white
5.10
#1B7F2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#1B7F2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B7F2D
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B7F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B7F2D | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1b7f2d; /* rgb */ color: rgb(27, 127, 45); /* oklch */ color: oklch(52.3% 0.148 145.6);
Tailwind
colors: {
custom: {
50: '#69a569',
500: '#1b7f2d',
950: '#000000',
},
}SCSS
$custom: #1b7f2d; $custom-light: #69a569; $custom-dark: #000000;
JSON
{
"hex": "#1b7f2d",
"rgb": {
"r": 27,
"g": 127,
"b": 45
},
"hsl": {
"h": 130.8,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.52329,
"c": 0.14846,
"h": 145.6
},
"luminance": 0.15601
}Semantic roles & 50–950 ramp
primary
#1B7F2D
secondary
#B3439F
accent
#40CAE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A