#1B7040#1B7040

#1B7040 is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.3% C 0.110 H 153.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#1B7040
RGBrgb(27, 112, 64)
HSLhsl(146, 61%, 27%)
HSVhsv(146, 76%, 44%)
CMYKcmyk(75.9%, 0%, 42.9%, 56.1%)
CIE-LABlab(41.52, -36.65, 19.72)
CIE-LCHlch(41.52, 41.62, 151.71°)
OKLaboklab(48.34% -0.0988 0.049)
OKLCHoklch(48.34% 0.11 153.6)
XYZxyz(7.1709, 12.1907, 6.8246)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7040 #701B4B
analogous
#20701B #1B7040 #1B706B
triadic
#1B7040 #401B70 #70401B
tetradic
#1B7040 #1B2070 #701B4B #706B1B
square
#1B7040 #1B2070 #701B4B #706B1B
split-complementary
#1B7040 #6B1B70 #701B20
monochromatic
#06190E #0F3F24 #1B7040 #27A15C #37CF79

Accessibility & contrast

On white

6.11
#1B7040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#1B7040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7040
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7040#FFFFFF#000000##FFFFFF
##1B70401.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70663D
Deuteranopia (green-blind)
#665F43
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1b7040;
/* rgb */ color: rgb(27, 112, 64);
/* oklch */ color: oklch(48.3% 0.110 153.6);
Tailwind
colors: {
  custom: {
    50: '#659a75',
    500: '#1b7040',
    950: '#000000',
  },
}
SCSS
$custom: #1b7040;
$custom-light: #659a75;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7040",
  "rgb": {
    "r": 27,
    "g": 112,
    "b": 64
  },
  "hsl": {
    "h": 146.118,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48336,
    "c": 0.11027,
    "h": 153.6
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#1B7040
secondary
#A5427A
accent
#449EE4
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #1B7040

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1B7040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva