#15902A#15902A

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

Color values

HEX#15902A
RGBrgb(21, 144, 42)
HSLhsl(130, 75%, 32%)
HSVhsv(130, 85%, 56%)
CMYKcmyk(85.4%, 0%, 70.8%, 43.5%)
CIE-LABlab(52.14, -52.30, 43.38)
CIE-LCHlch(52.14, 67.95, 140.32°)
OKLaboklab(57.03% -0.141 0.0995)
OKLCHoklch(57.03% 0.173 144.8)
XYZxyz(10.6997, 20.2718, 5.5390)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15902A #90157B
analogous
#3E9015 #15902A #159068
triadic
#15902A #2A1590 #902A15
tetradic
#15902A #153E90 #90157B #906815
square
#15902A #153E90 #90157B #906815
split-complementary
#15902A #681590 #90153E
monochromatic
#05250B #0D5B1A #15902A #1DC53A #3DE359

Accessibility & contrast

On white

4.15
#15902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#15902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##15902A#FFFFFF#000000##000000
##15902A1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #15902a;
/* rgb */ color: rgb(21, 144, 42);
/* oklch */ color: oklch(57.0% 0.173 144.8);
Tailwind
colors: {
  custom: {
    50: '#6db269',
    500: '#15902a',
    950: '#000000',
  },
}
SCSS
$custom: #15902a;
$custom-light: #6db269;
$custom-dark: #000000;
JSON
{
  "hex": "#15902a",
  "rgb": {
    "r": 21,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 130.244,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57028,
    "c": 0.17262,
    "h": 144.8
  },
  "luminance": 0.20273
}

Semantic roles & 50–950 ramp

primary
#15902A
secondary
#C23EAC
accent
#37D1F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #15902A

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

Preview Lab → · Contrast checker → · Palette generator →

#15902A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva