#15901B#15901B

#15901B is a mid, vivid green. Relative luminance 0.202; OKLCH L 56.9% C 0.181 H 143.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#15901B
RGBrgb(21, 144, 27)
HSLhsl(123, 75%, 32%)
HSVhsv(123, 85%, 56%)
CMYKcmyk(85.4%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.04, -53.54, 48.79)
CIE-LCHlch(52.04, 72.43, 137.66°)
OKLaboklab(56.91% -0.1451 0.1088)
OKLCHoklch(56.91% 0.181 143.1)
XYZxyz(10.4797, 20.1838, 4.3802)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15901B #90158A
analogous
#4C9015 #15901B #159059
triadic
#15901B #1B1590 #901B15
tetradic
#15901B #154C90 #90158A #905915
square
#15901B #154C90 #90158A #905915
split-complementary
#15901B #591590 #90154C
monochromatic
#052507 #0D5B11 #15901B #1DC525 #3DE345

Accessibility & contrast

On white

4.17
#15901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#15901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #15901B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15901B#FFFFFF#000000##000000
##15901B1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15901b;
/* rgb */ color: rgb(21, 144, 27);
/* oklch */ color: oklch(56.9% 0.181 143.1);
Tailwind
colors: {
  custom: {
    50: '#6db262',
    500: '#15901b',
    950: '#000000',
  },
}
SCSS
$custom: #15901b;
$custom-light: #6db262;
$custom-dark: #000000;
JSON
{
  "hex": "#15901b",
  "rgb": {
    "r": 21,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 122.927,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56914,
    "c": 0.18132,
    "h": 143.1
  },
  "luminance": 0.20185
}

Semantic roles & 50–950 ramp

primary
#15901B
secondary
#C23EBC
accent
#37E8F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #15901B

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

Preview Lab → · Contrast checker → · Palette generator →

#15901B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva