#1B902A#1B902A

#1B902A is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.171 H 144.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#1B902A
RGBrgb(27, 144, 42)
HSLhsl(128, 68%, 34%)
HSVhsv(128, 81%, 56%)
CMYKcmyk(81.3%, 0%, 70.8%, 43.5%)
CIE-LABlab(52.23, -51.58, 43.49)
CIE-LCHlch(52.23, 67.47, 139.86°)
OKLaboklab(57.12% -0.1393 0.0997)
OKLCHoklch(57.12% 0.171 144.4)
XYZxyz(10.8424, 20.3454, 5.5457)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B902A #901B81
analogous
#46901B #1B902A #1B9064
triadic
#1B902A #2A1B90 #902A1B
tetradic
#1B902A #1B4690 #901B81 #90641B
square
#1B902A #1B4690 #901B81 #90641B
split-complementary
#1B902A #641B90 #901B46
monochromatic
#08290C #115C1B #1B902A #25C439 #49DD5C

Accessibility & contrast

On white

4.14
#1B902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#1B902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B902A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B902A#FFFFFF#000000##000000
##1B902A1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1b902a;
/* rgb */ color: rgb(27, 144, 42);
/* oklch */ color: oklch(57.1% 0.171 144.4);
Tailwind
colors: {
  custom: {
    50: '#6eb269',
    500: '#1b902a',
    950: '#000000',
  },
}
SCSS
$custom: #1b902a;
$custom-light: #6eb269;
$custom-dark: #000000;
JSON
{
  "hex": "#1b902a",
  "rgb": {
    "r": 27,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 127.692,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5712,
    "c": 0.17134,
    "h": 144.4
  },
  "luminance": 0.20347
}

Semantic roles & 50–950 ramp

primary
#1B902A
secondary
#BF48AF
accent
#3DD5EB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #1B902A

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

Preview Lab → · Contrast checker → · Palette generator →

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