#1B902C#1B902C

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

Color values

HEX#1B902C
RGBrgb(27, 144, 44)
HSLhsl(129, 68%, 34%)
HSVhsv(129, 81%, 56%)
CMYKcmyk(81.3%, 0%, 69.4%, 43.5%)
CIE-LABlab(52.24, -51.38, 42.67)
CIE-LCHlch(52.24, 66.79, 140.29°)
OKLaboklab(57.14% -0.1387 0.0982)
OKLCHoklch(57.14% 0.17 144.7)
XYZxyz(10.8791, 20.3601, 5.7389)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B902C #901B7F
analogous
#44901B #1B902C #1B9066
triadic
#1B902C #2C1B90 #902C1B
tetradic
#1B902C #1B4490 #901B7F #90661B
square
#1B902C #1B4490 #901B7F #90661B
split-complementary
#1B902C #661B90 #901B44
monochromatic
#08290D #115C1C #1B902C #25C43C #49DD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B902C#FFFFFF#000000##000000
##1B902C1.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)
#93821E
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1b902c;
/* rgb */ color: rgb(27, 144, 44);
/* oklch */ color: oklch(57.1% 0.170 144.7);
Tailwind
colors: {
  custom: {
    50: '#6eb26a',
    500: '#1b902c',
    950: '#000000',
  },
}
SCSS
$custom: #1b902c;
$custom-light: #6eb26a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b902c",
  "rgb": {
    "r": 27,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 128.718,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.16995,
    "h": 144.7
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#1B902C
secondary
#BF48AD
accent
#3DD2EB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #1B902C

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

Preview Lab → · Contrast checker → · Palette generator →

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