#1B7D1E#1B7D1E
#1B7D1E is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.157 H 143.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1B7D1E |
|---|---|
| RGB | rgb(27, 125, 30) |
| HSL | hsl(122, 64%, 30%) |
| HSV | hsv(122, 78%, 49%) |
| CMYK | cmyk(78.4%, 0%, 76%, 51%) |
| CIE-LAB | lab(45.62, -46.32, 41.47) |
| CIE-LCH | lch(45.62, 62.18, 138.16°) |
| OKLab | oklab(51.61% -0.1256 0.0939) |
| OKLCH | oklch(51.61% 0.157 143.2) |
| XYZ | xyz(8.0194, 14.9930, 3.6993) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.64
Green
#008000
ΔE00 2.69
Darkish Green
#287C37
ΔE00 4.04
Dark Grass Green
#388004
ΔE00 4.51
Forestgreen (CSS)
#228B22
ΔE00 5.07
Emerald Green
#028F1E
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B7D1E #7D1B7A
analogous
#497D1B #1B7D1E #1B7D4F
triadic
#1B7D1E #1E1B7D #7D1E1B
tetradic
#1B7D1E #1B497D #7D1B7A #7D4F1B
square
#1B7D1E #1B497D #7D1B7A #7D4F1B
split-complementary
#1B7D1E #4F1B7D #7D1B49
monochromatic
#051906 #104B12 #1B7D1E #26AF2A #3DD542
Accessibility & contrast
On white
5.25
#1B7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#1B7D1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B7D1E
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B7D1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B7D1E | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #1b7d1e; /* rgb */ color: rgb(27, 125, 30); /* oklch */ color: oklch(51.6% 0.157 143.2);
Tailwind
colors: {
custom: {
50: '#6aa460',
500: '#1b7d1e',
950: '#000000',
},
}SCSS
$custom: #1b7d1e; $custom-light: #6aa460; $custom-dark: #000000;
JSON
{
"hex": "#1b7d1e",
"rgb": {
"r": 27,
"g": 125,
"b": 30
},
"hsl": {
"h": 121.837,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.51605,
"c": 0.15683,
"h": 143.2
},
"luminance": 0.14994
}Semantic roles & 50–950 ramp
primary
#1B7D1E
secondary
#B143AE
accent
#40E2E7
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79