#1B9731#1B9731

#1B9731 is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.1% C 0.175 H 145.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#1B9731
RGBrgb(27, 151, 49)
HSLhsl(131, 70%, 35%)
HSVhsv(131, 82%, 59%)
CMYKcmyk(82.1%, 0%, 67.5%, 40.8%)
CIE-LABlab(54.64, -53.17, 43.12)
CIE-LCHlch(54.64, 68.46, 140.95°)
OKLaboklab(59.15% -0.1433 0.0998)
OKLCHoklch(59.15% 0.175 145.2)
XYZxyz(12.0721, 22.5865, 6.6285)
Luminance0.2259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B9731 #971B81
analogous
#43971B #1B9731 #1B976F
triadic
#1B9731 #311B97 #97311B
tetradic
#1B9731 #1B4397 #971B81 #976F1B
square
#1B9731 #1B4397 #971B81 #976F1B
split-complementary
#1B9731 #6F1B97 #971B43
monochromatic
#082F0F #126320 #1B9731 #24CB42 #4DDF67

Accessibility & contrast

On white

3.81
#1B9731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#1B9731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B9731
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B9731#FFFFFF#000000##000000
##1B97311.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8824
Deuteranopia (green-blind)
#8C7F3A
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1b9731;
/* rgb */ color: rgb(27, 151, 49);
/* oklch */ color: oklch(59.1% 0.175 145.2);
Tailwind
colors: {
  custom: {
    50: '#70b76e',
    500: '#1b9731',
    950: '#000000',
  },
}
SCSS
$custom: #1b9731;
$custom-light: #70b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b9731",
  "rgb": {
    "r": 27,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 130.645,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59149,
    "c": 0.17464,
    "h": 145.2
  },
  "luminance": 0.22588
}

Semantic roles & 50–950 ramp

primary
#1B9731
secondary
#C14CAD
accent
#3BCDEC
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1B9731

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

Preview Lab → · Contrast checker → · Palette generator →

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