#1B7415#1B7415
#1B7415 is a mid, vivid green. Relative luminance 0.128; OKLCH L 48.9% C 0.151 H 142.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1B7415 |
|---|---|
| RGB | rgb(27, 116, 21) |
| HSL | hsl(116, 69%, 27%) |
| HSV | hsv(116, 82%, 45%) |
| CMYK | cmyk(76.7%, 0%, 81.9%, 54.5%) |
| CIE-LAB | lab(42.43, -43.94, 41.59) |
| CIE-LCH | lch(42.43, 60.50, 136.57°) |
| OKLab | oklab(48.93% -0.1196 0.0929) |
| OKLCH | oklch(48.93% 0.151 142.2) |
| XYZ | xyz(6.8323, 12.7772, 2.8155) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.73
Green
#008000
ΔE00 4.57
Darkish Green
#287C37
ΔE00 5.24
Darkgreen
#006400
ΔE00 5.43
Dark Grass Green
#388004
ΔE00 5.86
Forestgreen (CSS)
#228B22
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B7415 #6E1574
analogous
#4A7415 #1B7415 #15743F
triadic
#1B7415 #151B74 #74151B
tetradic
#1B7415 #154A74 #6E1574 #743F15
square
#1B7415 #154A74 #6E1574 #743F15
split-complementary
#1B7415 #3F1574 #74154A
monochromatic
#061A05 #0F400C #1B7415 #27A81E #36D92B
Accessibility & contrast
On white
5.91
#1B7415 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#1B7415 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B7415
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B7415 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B7415 | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1b7415; /* rgb */ color: rgb(27, 116, 21); /* oklch */ color: oklch(48.9% 0.151 142.2);
Tailwind
colors: {
custom: {
50: '#689d5b',
500: '#1b7415',
950: '#000000',
},
}SCSS
$custom: #1b7415; $custom-light: #689d5b; $custom-dark: #000000;
JSON
{
"hex": "#1b7415",
"rgb": {
"r": 27,
"g": 116,
"b": 21
},
"hsl": {
"h": 116.211,
"s": 69.343,
"l": 26.863
},
"oklch": {
"l": 0.48929,
"c": 0.1514,
"h": 142.2
},
"luminance": 0.12778
}Semantic roles & 50–950 ramp
primary
#1B7415
secondary
#A33BAA
accent
#3CECE1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79