#15902F#15902F

#15902F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.169 H 145.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#15902F
RGBrgb(21, 144, 47)
HSLhsl(133, 75%, 32%)
HSVhsv(133, 85%, 56%)
CMYKcmyk(85.4%, 0%, 67.4%, 43.5%)
CIE-LABlab(52.19, -51.77, 41.29)
CIE-LCHlch(52.19, 66.21, 141.43°)
OKLaboklab(57.08% -0.1394 0.0957)
OKLCHoklch(57.08% 0.169 145.5)
XYZxyz(10.7948, 20.3098, 6.0400)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15902F #901576
analogous
#399015 #15902F #15906D
triadic
#15902F #2F1590 #902F15
tetradic
#15902F #153990 #901576 #906D15
square
#15902F #153990 #901576 #906D15
split-complementary
#15902F #6D1590 #901539
monochromatic
#05250C #0D5B1E #15902F #1DC540 #3DE360

Accessibility & contrast

On white

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

On black

5.06
#15902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##15902F#FFFFFF#000000##000000
##15902F1.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)
#928223
Deuteranopia (green-blind)
#857938
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #15902f;
/* rgb */ color: rgb(21, 144, 47);
/* oklch */ color: oklch(57.1% 0.169 145.5);
Tailwind
colors: {
  custom: {
    50: '#6cb26c',
    500: '#15902f',
    950: '#000000',
  },
}
SCSS
$custom: #15902f;
$custom-light: #6cb26c;
$custom-dark: #000000;
JSON
{
  "hex": "#15902f",
  "rgb": {
    "r": 21,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 132.683,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57077,
    "c": 0.16907,
    "h": 145.5
  },
  "luminance": 0.20311
}

Semantic roles & 50–950 ramp

primary
#15902F
secondary
#C23EA7
accent
#37CAF1
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #15902F

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

Preview Lab → · Contrast checker → · Palette generator →

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