#1B6828#1B6828
#1B6828 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.123 H 145.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1B6828 |
|---|---|
| RGB | rgb(27, 104, 40) |
| HSL | hsl(130, 59%, 26%) |
| HSV | hsv(130, 74%, 41%) |
| CMYK | cmyk(74%, 0%, 61.5%, 59.2%) |
| CIE-LAB | lab(38.35, -37.59, 29.00) |
| CIE-LCH | lch(38.35, 47.48, 142.35°) |
| OKLab | oklab(45.6% -0.1015 0.0687) |
| OKLCH | oklch(45.6% 0.123 145.9) |
| XYZ | xyz(5.7849, 10.2862, 3.6876) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.01
Deep Green
#02590F
ΔE00 5.39
Forest Green
#2D5A27
ΔE00 5.58
Pine
#2B5D34
ΔE00 6.05
Spruce
#0A5F38
ΔE00 6.61
Forest
#0B5509
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B6828 #681B5B
analogous
#34681B #1B6828 #1B684E
triadic
#1B6828 #281B68 #68281B
tetradic
#1B6828 #1B3468 #681B5B #684E1B
square
#1B6828 #1B3468 #681B5B #684E1B
split-complementary
#1B6828 #4E1B68 #681B34
monochromatic
#061809 #0E3715 #1B6828 #28993B #34C94D
Accessibility & contrast
On white
6.87
#1B6828 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#1B6828 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B6828
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B6828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B6828 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E22
Deuteranopia (green-blind)
#61582D
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #1b6828; /* rgb */ color: rgb(27, 104, 40); /* oklch */ color: oklch(45.6% 0.123 145.9);
Tailwind
colors: {
custom: {
50: '#649464',
500: '#1b6828',
950: '#000000',
},
}SCSS
$custom: #1b6828; $custom-light: #649464; $custom-dark: #000000;
JSON
{
"hex": "#1b6828",
"rgb": {
"r": 27,
"g": 104,
"b": 40
},
"hsl": {
"h": 130.13,
"s": 58.779,
"l": 25.686
},
"oklch": {
"l": 0.45602,
"c": 0.12251,
"h": 145.9
},
"luminance": 0.10287
}Semantic roles & 50–950 ramp
primary
#1B6828
secondary
#9D428E
accent
#46C8E2
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A