#1B6840#1B6840
#1B6840 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.0% C 0.099 H 155.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1B6840 |
|---|---|
| RGB | rgb(27, 104, 64) |
| HSL | hsl(149, 59%, 26%) |
| HSV | hsv(149, 74%, 41%) |
| CMYK | cmyk(74%, 0%, 38.5%, 59.2%) |
| CIE-LAB | lab(38.73, -33.27, 16.02) |
| CIE-LCH | lch(38.73, 36.93, 154.28°) |
| OKLab | oklab(46.04% -0.09 0.0402) |
| OKLCH | oklch(46.04% 0.099 155.9) |
| XYZ | xyz(6.3271, 10.5031, 6.5433) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.09
Pine
#2B5D34
ΔE00 4.66
Hunter Green
#355E3B
ΔE00 5.35
Forest Green
#2D5A27
ΔE00 7.19
Darkish Green
#287C37
ΔE00 9.02
Deep Green
#02590F
ΔE00 9.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B6840 #681B43
analogous
#1C681B #1B6840 #1B6866
triadic
#1B6840 #401B68 #68401B
tetradic
#1B6840 #1B1C68 #681B43 #68661B
square
#1B6840 #1B1C68 #681B43 #68661B
split-complementary
#1B6840 #661B68 #681B1C
monochromatic
#06180F #0E3722 #1B6840 #28995E #34C97C
Accessibility & contrast
On white
6.77
#1B6840 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#1B6840 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B6840
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B6840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B6840 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675F3D
Deuteranopia (green-blind)
#5E5843
Tritanopia (blue-blind)
#00675E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #1b6840; /* rgb */ color: rgb(27, 104, 64); /* oklch */ color: oklch(46.0% 0.099 155.9);
Tailwind
colors: {
custom: {
50: '#639475',
500: '#1b6840',
950: '#000000',
},
}SCSS
$custom: #1b6840; $custom-light: #639475; $custom-dark: #000000;
JSON
{
"hex": "#1b6840",
"rgb": {
"r": 27,
"g": 104,
"b": 64
},
"hsl": {
"h": 148.831,
"s": 58.779,
"l": 25.686
},
"oklch": {
"l": 0.46039,
"c": 0.09858,
"h": 155.9
},
"luminance": 0.10504
}Semantic roles & 50–950 ramp
primary
#1B6840
secondary
#9D4271
accent
#4697E2
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B