#1B7A42#1B7A42
#1B7A42 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.122 H 152.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1B7A42 |
|---|---|
| RGB | rgb(27, 122, 66) |
| HSL | hsl(145, 64%, 29%) |
| HSV | hsv(145, 78%, 48%) |
| CMYK | cmyk(77.9%, 0%, 45.9%, 52.2%) |
| CIE-LAB | lab(45.00, -40.28, 23.13) |
| CIE-LCH | lch(45.00, 46.45, 150.14°) |
| OKLab | oklab(51.23% -0.1084 0.057) |
| OKLCH | oklch(51.23% 0.122 152.3) |
| XYZ | xyz(8.3942, 14.5444, 7.5182) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 2.99
Darkish Green
#287C37
ΔE00 3.23
Dark Sea Green
#11875D
ΔE00 6.53
Sea Green
#2E8B57
ΔE00 6.62
Tree Green
#2A7E19
ΔE00 8.18
Dark Sage
#598556
ΔE00 8.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B7A42 #7A1B53
analogous
#237A1B #1B7A42 #1B7A72
triadic
#1B7A42 #421B7A #7A421B
tetradic
#1B7A42 #1B237A #7A1B53 #7A721B
square
#1B7A42 #1B237A #7A1B53 #7A721B
split-complementary
#1B7A42 #721B7A #7A1B23
monochromatic
#06190E #104827 #1B7A42 #26AC5D #3CD47A
Accessibility & contrast
On white
5.37
#1B7A42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#1B7A42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B7A42
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B7A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B7A42 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6F3E
Deuteranopia (green-blind)
#6F6746
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #1b7a42; /* rgb */ color: rgb(27, 122, 66); /* oklch */ color: oklch(51.2% 0.122 152.3);
Tailwind
colors: {
custom: {
50: '#67a177',
500: '#1b7a42',
950: '#000000',
},
}SCSS
$custom: #1b7a42; $custom-light: #67a177; $custom-dark: #000000;
JSON
{
"hex": "#1b7a42",
"rgb": {
"r": 27,
"g": 122,
"b": 66
},
"hsl": {
"h": 144.632,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.51225,
"c": 0.12245,
"h": 152.3
},
"luminance": 0.14545
}Semantic roles & 50–950 ramp
primary
#1B7A42
secondary
#AE4382
accent
#41A3E7
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B