#1B9540#1B9540

#1B9540 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.160 H 148.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1B9540
RGBrgb(27, 149, 64)
HSLhsl(138, 69%, 35%)
HSVhsv(138, 82%, 58%)
CMYKcmyk(81.9%, 0%, 57%, 41.6%)
CIE-LABlab(54.13, -50.59, 35.52)
CIE-LCHlch(54.13, 61.81, 144.93°)
OKLaboklab(58.77% -0.1359 0.0848)
OKLCHoklch(58.77% 0.16 148)
XYZxyz(12.1239, 22.0966, 8.4756)
Luminance0.2210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B9540 #951B70
analogous
#33951B #1B9540 #1B957D
triadic
#1B9540 #401B95 #95401B
tetradic
#1B9540 #1B3395 #951B70 #957D1B
square
#1B9540 #1B3395 #951B70 #957D1B
split-complementary
#1B9540 #7D1B95 #951B33
monochromatic
#082D13 #12612A #1B9540 #24C956 #4CDF78

Accessibility & contrast

On white

3.87
#1B9540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#1B9540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B9540
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B9540#FFFFFF#000000##000000
##1B95401.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978738
Deuteranopia (green-blind)
#897E47
Tritanopia (blue-blind)
#009282
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1b9540;
/* rgb */ color: rgb(27, 149, 64);
/* oklch */ color: oklch(58.8% 0.160 148.0);
Tailwind
colors: {
  custom: {
    50: '#6eb577',
    500: '#1b9540',
    950: '#000000',
  },
}
SCSS
$custom: #1b9540;
$custom-light: #6eb577;
$custom-dark: #000000;
JSON
{
  "hex": "#1b9540",
  "rgb": {
    "r": 27,
    "g": 149,
    "b": 64
  },
  "hsl": {
    "h": 138.197,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58773,
    "c": 0.16016,
    "h": 148
  },
  "luminance": 0.22098
}

Semantic roles & 50–950 ramp

primary
#1B9540
secondary
#C14B9D
accent
#3CB7EC
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1B9540

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

Preview Lab → · Contrast checker → · Palette generator →

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