#1B901B#1B901B

#1B901B is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.0% C 0.180 H 142.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#1B901B
RGBrgb(27, 144, 27)
HSLhsl(120, 68%, 34%)
HSVhsv(120, 81%, 56%)
CMYKcmyk(81.3%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.13, -52.81, 48.90)
CIE-LCHlch(52.13, 71.97, 137.20°)
OKLaboklab(57.01% -0.1433 0.109)
OKLCHoklch(57.01% 0.18 142.8)
XYZxyz(10.6224, 20.2574, 4.3869)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B901B #901B90
analogous
#55901B #1B901B #1B9055
triadic
#1B901B #1B1B90 #901B1B
tetradic
#1B901B #1B5590 #901B90 #90551B
square
#1B901B #1B5590 #901B90 #90551B
split-complementary
#1B901B #551B90 #901B55
monochromatic
#082908 #115C11 #1B901B #25C425 #49DD49

Accessibility & contrast

On white

4.16
#1B901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#1B901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B901B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B901B#FFFFFF#000000##000000
##1B901B1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#008C7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1b901b;
/* rgb */ color: rgb(27, 144, 27);
/* oklch */ color: oklch(57.0% 0.180 142.8);
Tailwind
colors: {
  custom: {
    50: '#6fb262',
    500: '#1b901b',
    950: '#000000',
  },
}
SCSS
$custom: #1b901b;
$custom-light: #6fb262;
$custom-dark: #000000;
JSON
{
  "hex": "#1b901b",
  "rgb": {
    "r": 27,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.18006,
    "h": 142.8
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#1B901B
secondary
#BF48BF
accent
#3DEBEB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1B901B

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

Preview Lab → · Contrast checker → · Palette generator →

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