#1B7D40#1B7D40

#1B7D40 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.129 H 151.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1B7D40
RGBrgb(27, 125, 64)
HSLhsl(143, 64%, 30%)
HSVhsv(143, 78%, 49%)
CMYKcmyk(78.4%, 0%, 48.8%, 51%)
CIE-LABlab(46.00, -41.82, 25.51)
CIE-LCHlch(46.00, 48.99, 148.62°)
OKLaboklab(52.04% -0.1124 0.0624)
OKLCHoklch(52.04% 0.129 151)
XYZxyz(8.7103, 15.2694, 7.3377)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D40 #7D1B58
analogous
#277D1B #1B7D40 #1B7D71
triadic
#1B7D40 #401B7D #7D401B
tetradic
#1B7D40 #1B277D #7D1B58 #7D711B
square
#1B7D40 #1B277D #7D1B58 #7D711B
split-complementary
#1B7D40 #711B7D #7D1B27
monochromatic
#05190D #104B26 #1B7D40 #26AF5A #3DD577

Accessibility & contrast

On white

5.18
#1B7D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1B7D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7D40
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7D40#FFFFFF#000000##FFFFFF
##1B7D401.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723B
Deuteranopia (green-blind)
#726A44
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7d40;
/* rgb */ color: rgb(27, 125, 64);
/* oklch */ color: oklch(52.0% 0.129 151.0);
Tailwind
colors: {
  custom: {
    50: '#68a476',
    500: '#1b7d40',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d40;
$custom-light: #68a476;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d40",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 64
  },
  "hsl": {
    "h": 142.653,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.12858,
    "h": 151
  },
  "luminance": 0.1527
}

Semantic roles & 50–950 ramp

primary
#1B7D40
secondary
#B14387
accent
#40A8E7
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1B7D40

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

Preview Lab → · Contrast checker → · Palette generator →

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