#157313#157313

#157313 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.5% C 0.153 H 142.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#157313
RGBrgb(21, 115, 19)
HSLhsl(119, 72%, 26%)
HSVhsv(119, 83%, 45%)
CMYKcmyk(81.7%, 0%, 83.5%, 54.9%)
CIE-LABlab(41.95, -44.71, 41.76)
CIE-LCHlch(41.95, 61.18, 136.96°)
OKLaboklab(48.5% -0.1215 0.093)
OKLCHoklch(48.5% 0.153 142.6)
XYZxyz(6.5571, 12.4671, 2.6768)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157313 #711373
analogous
#457313 #157313 #137341
triadic
#157313 #131573 #731315
tetradic
#157313 #134573 #711373 #734113
square
#157313 #134573 #711373 #734113
split-complementary
#157313 #411373 #731345
monochromatic
#051A04 #0B3E0A #157313 #1FA81C #29DB25

Accessibility & contrast

On white

6.01
#157313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#157313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157313
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157313#FFFFFF#000000##FFFFFF
##1573131.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C601F
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157313;
/* rgb */ color: rgb(21, 115, 19);
/* oklch */ color: oklch(48.5% 0.153 142.6);
Tailwind
colors: {
  custom: {
    50: '#669c5a',
    500: '#157313',
    950: '#000000',
  },
}
SCSS
$custom: #157313;
$custom-light: #669c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#157313",
  "rgb": {
    "r": 21,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 118.75,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48497,
    "c": 0.15295,
    "h": 142.6
  },
  "luminance": 0.12468
}

Semantic roles & 50–950 ramp

primary
#157313
secondary
#A738AA
accent
#39EEEB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #157313

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

Preview Lab → · Contrast checker → · Palette generator →

#157313 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva