#1B982A#1B982A

#1B982A is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.4% C 0.181 H 144.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#1B982A
RGBrgb(27, 152, 42)
HSLhsl(127, 70%, 35%)
HSVhsv(127, 82%, 60%)
CMYKcmyk(82.2%, 0%, 72.4%, 40.4%)
CIE-LABlab(54.92, -54.19, 46.33)
CIE-LCHlch(54.92, 71.30, 139.48°)
OKLaboklab(59.36% -0.1464 0.1057)
OKLCHoklch(59.36% 0.181 144.2)
XYZxyz(12.0973, 22.8552, 5.9640)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B982A #981B89
analogous
#4B981B #1B982A #1B9868
triadic
#1B982A #2A1B98 #982A1B
tetradic
#1B982A #1B4B98 #981B89 #98681B
square
#1B982A #1B4B98 #981B89 #98681B
split-complementary
#1B982A #681B98 #981B4B
monochromatic
#09300D #12641C #1B982A #24CC38 #4EE05F

Accessibility & contrast

On white

3.77
#1B982A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#1B982A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B982A
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B982A#FFFFFF#000000##000000
##1B982A1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8918
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1b982a;
/* rgb */ color: rgb(27, 152, 42);
/* oklch */ color: oklch(59.4% 0.181 144.2);
Tailwind
colors: {
  custom: {
    50: '#70b86a',
    500: '#1b982a',
    950: '#000000',
  },
}
SCSS
$custom: #1b982a;
$custom-light: #70b86a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b982a",
  "rgb": {
    "r": 27,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 127.2,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59363,
    "c": 0.18057,
    "h": 144.2
  },
  "luminance": 0.22857
}

Semantic roles & 50–950 ramp

primary
#1B982A
secondary
#C24DB4
accent
#3BD7ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1B982A

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

Preview Lab → · Contrast checker → · Palette generator →

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