#1B9742#1B9742

#1B9742 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.161 H 148.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#1B9742
RGBrgb(27, 151, 66)
HSLhsl(139, 70%, 35%)
HSVhsv(139, 82%, 59%)
CMYKcmyk(82.1%, 0%, 56.3%, 40.8%)
CIE-LABlab(54.82, -50.99, 35.35)
CIE-LCHlch(54.82, 62.05, 145.27°)
OKLaboklab(59.36% -0.1369 0.0846)
OKLCHoklch(59.36% 0.161 148.3)
XYZxyz(12.5010, 22.7580, 8.8871)
Luminance0.2276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B9742 #971B70
analogous
#32971B #1B9742 #1B9780
triadic
#1B9742 #421B97 #97421B
tetradic
#1B9742 #1B3297 #971B70 #97801B
square
#1B9742 #1B3297 #971B70 #97801B
split-complementary
#1B9742 #801B97 #971B32
monochromatic
#082F15 #12632B #1B9742 #24CB59 #4DDF7B

Accessibility & contrast

On white

3.78
#1B9742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#1B9742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B9742
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B9742#FFFFFF#000000##000000
##1B97421.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98893A
Deuteranopia (green-blind)
#8B7F49
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1b9742;
/* rgb */ color: rgb(27, 151, 66);
/* oklch */ color: oklch(59.4% 0.161 148.3);
Tailwind
colors: {
  custom: {
    50: '#6fb779',
    500: '#1b9742',
    950: '#000000',
  },
}
SCSS
$custom: #1b9742;
$custom-light: #6fb779;
$custom-dark: #000000;
JSON
{
  "hex": "#1b9742",
  "rgb": {
    "r": 27,
    "g": 151,
    "b": 66
  },
  "hsl": {
    "h": 138.871,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59355,
    "c": 0.16093,
    "h": 148.3
  },
  "luminance": 0.2276
}

Semantic roles & 50–950 ramp

primary
#1B9742
secondary
#C14C9D
accent
#3BB5EC
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1B9742

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

Preview Lab → · Contrast checker → · Palette generator →

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