#1B891F#1B891F
#1B891F is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.0% C 0.170 H 143.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1B891F |
|---|---|
| RGB | rgb(27, 137, 31) |
| HSL | hsl(122, 67%, 32%) |
| HSV | hsv(122, 80%, 54%) |
| CMYK | cmyk(80.3%, 0%, 77.4%, 46.3%) |
| CIE-LAB | lab(49.76, -50.26, 45.25) |
| CIE-LCH | lch(49.76, 67.63, 138.00°) |
| OKLab | oklab(55.05% -0.1362 0.1019) |
| OKLCH | oklch(55.05% 0.17 143.2) |
| XYZ | xyz(9.6444, 18.2221, 4.3050) |
| Luminance | 0.1822 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.85
Emerald Green
#028F1E
ΔE00 2.16
Green
#008000
ΔE00 3.77
Tree Green
#2A7E19
ΔE00 3.97
Irish Green
#019529
ΔE00 4.21
True Green
#089404
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B891F #891B85
analogous
#4E891B #1B891F #1B8956
triadic
#1B891F #1F1B89 #891F1B
tetradic
#1B891F #1B4E89 #891B85 #89561B
square
#1B891F #1B4E89 #891B85 #89561B
split-complementary
#1B891F #561B89 #891B4E
monochromatic
#072308 #115613 #1B891F #25BC2B #44DA4A
Accessibility & contrast
On white
4.52
#1B891F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#1B891F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1B891F
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B891F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1B891F | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #1b891f; /* rgb */ color: rgb(27, 137, 31); /* oklch */ color: oklch(55.0% 0.170 143.2);
Tailwind
colors: {
custom: {
50: '#6dad63',
500: '#1b891f',
950: '#000000',
},
}SCSS
$custom: #1b891f; $custom-light: #6dad63; $custom-dark: #000000;
JSON
{
"hex": "#1b891f",
"rgb": {
"r": 27,
"g": 137,
"b": 31
},
"hsl": {
"h": 122.182,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.55049,
"c": 0.17015,
"h": 143.2
},
"luminance": 0.18223
}Semantic roles & 50–950 ramp
primary
#1B891F
secondary
#BC44B7
accent
#3EE4EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A