#1B6838#1B6838
#1B6838 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.9% C 0.107 H 151.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1B6838 |
|---|---|
| RGB | rgb(27, 104, 56) |
| HSL | hsl(143, 59%, 26%) |
| HSV | hsv(143, 74%, 41%) |
| CMYK | cmyk(74%, 0%, 46.2%, 59.2%) |
| CIE-LAB | lab(38.58, -34.92, 20.50) |
| CIE-LCH | lch(38.58, 40.49, 149.59°) |
| OKLab | oklab(45.87% -0.0941 0.0506) |
| OKLCH | oklch(45.87% 0.107 151.7) |
| XYZ | xyz(6.1156, 10.4185, 5.4293) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.75
Pine
#2B5D34
ΔE00 4.41
Hunter Green
#355E3B
ΔE00 5.70
Forest Green
#2D5A27
ΔE00 6.04
Deep Green
#02590F
ΔE00 7.66
Darkish Green
#287C37
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B6838 #681B4B
analogous
#24681B #1B6838 #1B685E
triadic
#1B6838 #381B68 #68381B
tetradic
#1B6838 #1B2468 #681B4B #685E1B
square
#1B6838 #1B2468 #681B4B #685E1B
split-complementary
#1B6838 #5E1B68 #681B24
monochromatic
#06180D #0E371E #1B6838 #289952 #34C96C
Accessibility & contrast
On white
6.81
#1B6838 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#1B6838 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B6838
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B6838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B6838 | 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)
#685F34
Deuteranopia (green-blind)
#5F583B
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #1b6838; /* rgb */ color: rgb(27, 104, 56); /* oklch */ color: oklch(45.9% 0.107 151.7);
Tailwind
colors: {
custom: {
50: '#63946f',
500: '#1b6838',
950: '#000000',
},
}SCSS
$custom: #1b6838; $custom-light: #63946f; $custom-dark: #000000;
JSON
{
"hex": "#1b6838",
"rgb": {
"r": 27,
"g": 104,
"b": 56
},
"hsl": {
"h": 142.597,
"s": 58.779,
"l": 25.686
},
"oklch": {
"l": 0.45869,
"c": 0.10679,
"h": 151.7
},
"luminance": 0.10419
}Semantic roles & 50–950 ramp
primary
#1B6838
secondary
#9D427B
accent
#46A7E2
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A