#1B7F2F#1B7F2F
#1B7F2F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.147 H 146.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #1B7F2F |
|---|---|
| RGB | rgb(27, 127, 47) |
| HSL | hsl(132, 65%, 30%) |
| HSV | hsv(132, 79%, 50%) |
| CMYK | cmyk(78.7%, 0%, 63%, 50.2%) |
| CIE-LAB | lab(46.47, -45.19, 34.90) |
| CIE-LCH | lch(46.47, 57.09, 142.32°) |
| OKLab | oklab(52.35% -0.1217 0.082) |
| OKLCH | oklch(52.35% 0.147 146) |
| XYZ | xyz(8.5538, 15.6160, 5.2521) |
| Luminance | 0.1562 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.06
Tree Green
#2A7E19
ΔE00 3.70
Jungle Green
#048243
ΔE00 4.03
Green
#008000
ΔE00 4.85
Forestgreen (CSS)
#228B22
ΔE00 5.31
Dark Grass Green
#388004
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B7F2F #7F1B6B
analogous
#397F1B #1B7F2F #1B7F61
triadic
#1B7F2F #2F1B7F #7F2F1B
tetradic
#1B7F2F #1B397F #7F1B6B #7F611B
square
#1B7F2F #1B397F #7F1B6B #7F611B
split-complementary
#1B7F2F #611B7F #7F1B39
monochromatic
#061A0A #104D1C #1B7F2F #26B142 #3ED65D
Accessibility & contrast
On white
5.09
#1B7F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#1B7F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B7F2F
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B7F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B7F2F | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#766B36
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1b7f2f; /* rgb */ color: rgb(27, 127, 47); /* oklch */ color: oklch(52.4% 0.147 146.0);
Tailwind
colors: {
custom: {
50: '#69a56a',
500: '#1b7f2f',
950: '#000000',
},
}SCSS
$custom: #1b7f2f; $custom-light: #69a56a; $custom-dark: #000000;
JSON
{
"hex": "#1b7f2f",
"rgb": {
"r": 27,
"g": 127,
"b": 47
},
"hsl": {
"h": 132,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.52353,
"c": 0.14681,
"h": 146
},
"luminance": 0.15617
}Semantic roles & 50–950 ramp
primary
#1B7F2F
secondary
#B3439C
accent
#40C6E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A