#157520#157520

#157520 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.148 H 144.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#157520
RGBrgb(21, 117, 32)
HSLhsl(127, 70%, 27%)
HSVhsv(127, 82%, 46%)
CMYKcmyk(82.1%, 0%, 72.6%, 54.1%)
CIE-LABlab(42.74, -44.31, 37.64)
CIE-LCHlch(42.74, 58.14, 139.65°)
OKLaboklab(49.18% -0.1197 0.0862)
OKLCHoklch(49.18% 0.148 144.3)
XYZxyz(6.9308, 12.9855, 3.5074)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157520 #75156A
analogous
#3A7515 #157520 #157550
triadic
#157520 #201575 #752015
tetradic
#157520 #153A75 #75156A #755015
square
#157520 #153A75 #75156A #755015
split-complementary
#157520 #501575 #75153A
monochromatic
#051A07 #0C4112 #157520 #1EA92E #2BD93F

Accessibility & contrast

On white

5.84
#157520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#157520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157520
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157520#FFFFFF#000000##FFFFFF
##1575201.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #157520;
/* rgb */ color: rgb(21, 117, 32);
/* oklch */ color: oklch(49.2% 0.148 144.3);
Tailwind
colors: {
  custom: {
    50: '#669e60',
    500: '#157520',
    950: '#000000',
  },
}
SCSS
$custom: #157520;
$custom-light: #669e60;
$custom-dark: #000000;
JSON
{
  "hex": "#157520",
  "rgb": {
    "r": 21,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 126.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49183,
    "c": 0.14754,
    "h": 144.3
  },
  "luminance": 0.12986
}

Semantic roles & 50–950 ramp

primary
#157520
secondary
#AB3B9E
accent
#3BD8EC
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #157520

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

Preview Lab → · Contrast checker → · Palette generator →

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