#1B902B#1B902B

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

Color values

HEX#1B902B
RGBrgb(27, 144, 43)
HSLhsl(128, 68%, 34%)
HSVhsv(128, 81%, 56%)
CMYKcmyk(81.3%, 0%, 70.1%, 43.5%)
CIE-LABlab(52.23, -51.48, 43.09)
CIE-LCHlch(52.23, 67.13, 140.07°)
OKLaboklab(57.13% -0.139 0.099)
OKLCHoklch(57.13% 0.171 144.5)
XYZxyz(10.8605, 20.3526, 5.6411)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B902B #901B80
analogous
#45901B #1B902B #1B9065
triadic
#1B902B #2B1B90 #902B1B
tetradic
#1B902B #1B4590 #901B80 #90651B
square
#1B902B #1B4590 #901B80 #90651B
split-complementary
#1B902B #651B90 #901B45
monochromatic
#08290C #115C1C #1B902B #25C43A #49DD5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B902B#FFFFFF#000000##000000
##1B902B1.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)
#93821D
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1b902b;
/* rgb */ color: rgb(27, 144, 43);
/* oklch */ color: oklch(57.1% 0.171 144.5);
Tailwind
colors: {
  custom: {
    50: '#6eb26a',
    500: '#1b902b',
    950: '#000000',
  },
}
SCSS
$custom: #1b902b;
$custom-light: #6eb26a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b902b",
  "rgb": {
    "r": 27,
    "g": 144,
    "b": 43
  },
  "hsl": {
    "h": 128.205,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5713,
    "c": 0.17065,
    "h": 144.5
  },
  "luminance": 0.20354
}

Semantic roles & 50–950 ramp

primary
#1B902B
secondary
#BF48AE
accent
#3DD3EB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #1B902B

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

Preview Lab → · Contrast checker → · Palette generator →

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