#1B901C#1B901C

#1B901C 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#1B901C
RGBrgb(27, 144, 28)
HSLhsl(121, 68%, 34%)
HSVhsv(121, 81%, 56%)
CMYKcmyk(81.3%, 0%, 80.6%, 43.5%)
CIE-LABlab(52.13, -52.74, 48.58)
CIE-LCHlch(52.13, 71.71, 137.35°)
OKLaboklab(57.01% -0.1431 0.1085)
OKLCHoklch(57.01% 0.18 142.8)
XYZxyz(10.6342, 20.2621, 4.4489)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B901C #901B8F
analogous
#54901B #1B901C #1B9056
triadic
#1B901C #1C1B90 #901C1B
tetradic
#1B901C #1B5490 #901B8F #90561B
square
#1B901C #1B5490 #901B8F #90561B
split-complementary
#1B901C #561B90 #901B54
monochromatic
#082908 #115C12 #1B901C #25C426 #49DD4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B901C#FFFFFF#000000##000000
##1B901C1.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)
#87792A
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#1B901C
secondary
#BF48BE
accent
#3DEAEB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1B901C

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

Preview Lab → · Contrast checker → · Palette generator →

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