#1B7918#1B7918
#1B7918 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.156 H 142.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1B7918 |
|---|---|
| RGB | rgb(27, 121, 24) |
| HSL | hsl(118, 67%, 28%) |
| HSV | hsv(118, 80%, 47%) |
| CMYK | cmyk(77.7%, 0%, 80.2%, 52.5%) |
| CIE-LAB | lab(44.19, -45.44, 42.27) |
| CIE-LCH | lch(44.19, 62.06, 137.07°) |
| OKLab | oklab(50.4% -0.1235 0.0947) |
| OKLCH | oklch(50.4% 0.156 142.5) |
| XYZ | xyz(7.4538, 13.9728, 3.1682) |
| Luminance | 0.1397 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.22
Green
#008000
ΔE00 3.16
Darkish Green
#287C37
ΔE00 4.58
Dark Grass Green
#388004
ΔE00 4.77
Forestgreen (CSS)
#228B22
ΔE00 6.41
Darkgreen
#006400
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B7918 #761879
analogous
#4B7918 #1B7918 #187945
triadic
#1B7918 #181B79 #79181B
tetradic
#1B7918 #184B79 #761879 #794518
square
#1B7918 #184B79 #761879 #794518
split-complementary
#1B7918 #451879 #79184B
monochromatic
#061A05 #10460E #1B7918 #26AC22 #3AD735
Accessibility & contrast
On white
5.53
#1B7918 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#1B7918 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B7918
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B7918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B7918 | 1.00 | 5.53 | 3.79 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #1b7918; /* rgb */ color: rgb(27, 121, 24); /* oklch */ color: oklch(50.4% 0.156 142.5);
Tailwind
colors: {
custom: {
50: '#69a15d',
500: '#1b7918',
950: '#000000',
},
}SCSS
$custom: #1b7918; $custom-light: #69a15d; $custom-dark: #000000;
JSON
{
"hex": "#1b7918",
"rgb": {
"r": 27,
"g": 121,
"b": 24
},
"hsl": {
"h": 118.144,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.50404,
"c": 0.15563,
"h": 142.5
},
"luminance": 0.13974
}Semantic roles & 50–950 ramp
primary
#1B7918
secondary
#AA3FAE
accent
#3EEAE4
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79