#1B7E2F#1B7E2F
#1B7E2F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.146 H 146.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #1B7E2F |
|---|---|
| RGB | rgb(27, 126, 47) |
| HSL | hsl(132, 65%, 30%) |
| HSV | hsv(132, 79%, 49%) |
| CMYK | cmyk(78.6%, 0%, 62.7%, 50.6%) |
| CIE-LAB | lab(46.12, -44.83, 34.50) |
| CIE-LCH | lch(46.12, 56.57, 142.42°) |
| OKLab | oklab(52.07% -0.1208 0.0812) |
| OKLCH | oklch(52.07% 0.146 146.1) |
| XYZ | xyz(8.4253, 15.3590, 5.2093) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.83
Tree Green
#2A7E19
ΔE00 3.80
Jungle Green
#048243
ΔE00 4.03
Green
#008000
ΔE00 4.99
Forestgreen (CSS)
#228B22
ΔE00 5.66
Dark Grass Green
#388004
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B7E2F #7E1B6A
analogous
#397E1B #1B7E2F #1B7E60
triadic
#1B7E2F #2F1B7E #7E2F1B
tetradic
#1B7E2F #1B397E #7E1B6A #7E601B
square
#1B7E2F #1B397E #7E1B6A #7E601B
split-complementary
#1B7E2F #601B7E #7E1B39
monochromatic
#051909 #104C1C #1B7E2F #26B042 #3ED65C
Accessibility & contrast
On white
5.16
#1B7E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#1B7E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B7E2F
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B7E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B7E2F | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807226
Deuteranopia (green-blind)
#756A36
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1b7e2f; /* rgb */ color: rgb(27, 126, 47); /* oklch */ color: oklch(52.1% 0.146 146.1);
Tailwind
colors: {
custom: {
50: '#69a46a',
500: '#1b7e2f',
950: '#000000',
},
}SCSS
$custom: #1b7e2f; $custom-light: #69a46a; $custom-dark: #000000;
JSON
{
"hex": "#1b7e2f",
"rgb": {
"r": 27,
"g": 126,
"b": 47
},
"hsl": {
"h": 132.121,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.52067,
"c": 0.14553,
"h": 146.1
},
"luminance": 0.1536
}Semantic roles & 50–950 ramp
primary
#1B7E2F
secondary
#B2439B
accent
#40C6E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A