#15901F#15901F

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

Color values

HEX#15901F
RGBrgb(21, 144, 31)
HSLhsl(125, 75%, 32%)
HSVhsv(125, 85%, 56%)
CMYKcmyk(85.4%, 0%, 78.5%, 43.5%)
CIE-LABlab(52.07, -53.26, 47.49)
CIE-LCHlch(52.07, 71.36, 138.27°)
OKLaboklab(56.94% -0.1441 0.1066)
OKLCHoklch(56.94% 0.179 143.5)
XYZxyz(10.5291, 20.2036, 4.6408)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15901F #901586
analogous
#499015 #15901F #15905D
triadic
#15901F #1F1590 #901F15
tetradic
#15901F #154990 #901586 #905D15
square
#15901F #154990 #901586 #905D15
split-complementary
#15901F #5D1590 #901549
monochromatic
#052508 #0D5B14 #15901F #1DC52A #3DE34A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##15901F#FFFFFF#000000##000000
##15901F1.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)
#938203
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #15901f;
/* rgb */ color: rgb(21, 144, 31);
/* oklch */ color: oklch(56.9% 0.179 143.5);
Tailwind
colors: {
  custom: {
    50: '#6db264',
    500: '#15901f',
    950: '#000000',
  },
}
SCSS
$custom: #15901f;
$custom-light: #6db264;
$custom-dark: #000000;
JSON
{
  "hex": "#15901f",
  "rgb": {
    "r": 21,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 124.878,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5694,
    "c": 0.1793,
    "h": 143.5
  },
  "luminance": 0.20205
}

Semantic roles & 50–950 ramp

primary
#15901F
secondary
#C23EB8
accent
#37E2F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #15901F

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

Preview Lab → · Contrast checker → · Palette generator →

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