#1B7D42#1B7D42

#1B7D42 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.127 H 151.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1B7D42
RGBrgb(27, 125, 66)
HSLhsl(144, 64%, 30%)
HSVhsv(144, 78%, 49%)
CMYKcmyk(78.4%, 0%, 47.2%, 51%)
CIE-LABlab(46.03, -41.46, 24.45)
CIE-LCHlch(46.03, 48.13, 149.47°)
OKLaboklab(52.08% -0.1115 0.0601)
OKLCHoklch(52.08% 0.127 151.7)
XYZxyz(8.7682, 15.2926, 7.6428)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D42 #7D1B56
analogous
#257D1B #1B7D42 #1B7D73
triadic
#1B7D42 #421B7D #7D421B
tetradic
#1B7D42 #1B257D #7D1B56 #7D731B
square
#1B7D42 #1B257D #7D1B56 #7D731B
split-complementary
#1B7D42 #731B7D #7D1B25
monochromatic
#05190D #104B27 #1B7D42 #26AF5D #3DD57A

Accessibility & contrast

On white

5.17
#1B7D42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1B7D42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7D42
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7D42#FFFFFF#000000##FFFFFF
##1B7D421.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723D
Deuteranopia (green-blind)
#726A46
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7d42;
/* rgb */ color: rgb(27, 125, 66);
/* oklch */ color: oklch(52.1% 0.127 151.7);
Tailwind
colors: {
  custom: {
    50: '#68a477',
    500: '#1b7d42',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d42;
$custom-light: #68a477;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d42",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 66
  },
  "hsl": {
    "h": 143.878,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52075,
    "c": 0.12662,
    "h": 151.7
  },
  "luminance": 0.15294
}

Semantic roles & 50–950 ramp

primary
#1B7D42
secondary
#B14385
accent
#40A5E7
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1B7D42

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

Preview Lab → · Contrast checker → · Palette generator →

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