#1B7428#1B7428
#1B7428 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.138 H 145.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1B7428 |
|---|---|
| RGB | rgb(27, 116, 40) |
| HSL | hsl(129, 62%, 28%) |
| HSV | hsv(129, 77%, 45%) |
| CMYK | cmyk(76.7%, 0%, 65.5%, 54.5%) |
| CIE-LAB | lab(42.58, -42.11, 33.85) |
| CIE-LCH | lch(42.58, 54.03, 141.20°) |
| OKLab | oklab(49.1% -0.1137 0.0791) |
| OKLCH | oklch(49.1% 0.138 145.2) |
| XYZ | xyz(7.0799, 12.8762, 4.1193) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.35
Tree Green
#2A7E19
ΔE00 5.06
Jungle Green
#048243
ΔE00 6.21
Green
#008000
ΔE00 6.28
Darkgreen
#006400
ΔE00 6.29
Dark Grass Green
#388004
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B7428 #741B67
analogous
#3A741B #1B7428 #1B7454
triadic
#1B7428 #281B74 #74281B
tetradic
#1B7428 #1B3A74 #741B67 #74541B
square
#1B7428 #1B3A74 #741B67 #74541B
split-complementary
#1B7428 #541B74 #741B3A
monochromatic
#061909 #0F4217 #1B7428 #27A639 #39D14F
Accessibility & contrast
On white
5.87
#1B7428 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#1B7428 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B7428
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B7428 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B7428 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76691F
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1b7428; /* rgb */ color: rgb(27, 116, 40); /* oklch */ color: oklch(49.1% 0.138 145.2);
Tailwind
colors: {
custom: {
50: '#679d65',
500: '#1b7428',
950: '#000000',
},
}SCSS
$custom: #1b7428; $custom-light: #679d65; $custom-dark: #000000;
JSON
{
"hex": "#1b7428",
"rgb": {
"r": 27,
"g": 116,
"b": 40
},
"hsl": {
"h": 128.764,
"s": 62.238,
"l": 28.039
},
"oklch": {
"l": 0.49102,
"c": 0.13848,
"h": 145.2
},
"luminance": 0.12877
}Semantic roles & 50–950 ramp
primary
#1B7428
secondary
#A9429A
accent
#42CEE5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A