#1B901F#1B901F

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

Color values

HEX#1B901F
RGBrgb(27, 144, 31)
HSLhsl(122, 68%, 34%)
HSVhsv(122, 81%, 56%)
CMYKcmyk(81.3%, 0%, 78.5%, 43.5%)
CIE-LABlab(52.15, -52.53, 47.60)
CIE-LCHlch(52.15, 70.89, 137.82°)
OKLaboklab(57.03% -0.1424 0.1068)
OKLCHoklch(57.03% 0.178 143.1)
XYZxyz(10.6719, 20.2772, 4.6475)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B901F #901B8C
analogous
#51901B #1B901F #1B9059
triadic
#1B901F #1F1B90 #901F1B
tetradic
#1B901F #1B5190 #901B8C #90591B
square
#1B901F #1B5190 #901B8C #90591B
split-complementary
#1B901F #591B90 #901B51
monochromatic
#082909 #115C14 #1B901F #25C42A #49DD4E

Accessibility & contrast

On white

4.15
#1B901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#1B901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B901F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B901F#FFFFFF#000000##000000
##1B901F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938203
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1b901f;
/* rgb */ color: rgb(27, 144, 31);
/* oklch */ color: oklch(57.0% 0.178 143.1);
Tailwind
colors: {
  custom: {
    50: '#6fb264',
    500: '#1b901f',
    950: '#000000',
  },
}
SCSS
$custom: #1b901f;
$custom-light: #6fb264;
$custom-dark: #000000;
JSON
{
  "hex": "#1b901f",
  "rgb": {
    "r": 27,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 122.051,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57032,
    "c": 0.17803,
    "h": 143.1
  },
  "luminance": 0.20278
}

Semantic roles & 50–950 ramp

primary
#1B901F
secondary
#BF48BB
accent
#3DE5EB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1B901F

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

Preview Lab → · Contrast checker → · Palette generator →

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