#1B6837#1B6837
#1B6837 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.9% C 0.108 H 151.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1B6837 |
|---|---|
| RGB | rgb(27, 104, 55) |
| HSL | hsl(142, 59%, 26%) |
| HSV | hsv(142, 74%, 41%) |
| CMYK | cmyk(74%, 0%, 47.1%, 59.2%) |
| CIE-LAB | lab(38.57, -35.11, 21.05) |
| CIE-LCH | lch(38.57, 40.93, 149.06°) |
| OKLab | oklab(45.85% -0.0946 0.0518) |
| OKLCH | oklch(45.85% 0.108 151.3) |
| XYZ | xyz(6.0914, 10.4088, 5.3018) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.90
Pine
#2B5D34
ΔE00 4.45
Hunter Green
#355E3B
ΔE00 5.79
Forest Green
#2D5A27
ΔE00 5.94
Deep Green
#02590F
ΔE00 7.47
Darkish Green
#287C37
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B6837 #681B4C
analogous
#25681B #1B6837 #1B685D
triadic
#1B6837 #371B68 #68371B
tetradic
#1B6837 #1B2568 #681B4C #685D1B
square
#1B6837 #1B2568 #681B4C #685D1B
split-complementary
#1B6837 #5D1B68 #681B25
monochromatic
#06180D #0E371D #1B6837 #289951 #34C96A
Accessibility & contrast
On white
6.81
#1B6837 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#1B6837 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B6837
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B6837 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B6837 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685F33
Deuteranopia (green-blind)
#5F583A
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #1b6837; /* rgb */ color: rgb(27, 104, 55); /* oklch */ color: oklch(45.9% 0.108 151.3);
Tailwind
colors: {
custom: {
50: '#63946e',
500: '#1b6837',
950: '#000000',
},
}SCSS
$custom: #1b6837; $custom-light: #63946e; $custom-dark: #000000;
JSON
{
"hex": "#1b6837",
"rgb": {
"r": 27,
"g": 104,
"b": 55
},
"hsl": {
"h": 141.818,
"s": 58.779,
"l": 25.686
},
"oklch": {
"l": 0.4585,
"c": 0.10782,
"h": 151.3
},
"luminance": 0.10409
}Semantic roles & 50–950 ramp
primary
#1B6837
secondary
#9D427C
accent
#46A9E2
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A