#157131#157131

#157131 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.128 H 148.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#157131
RGBrgb(21, 113, 49)
HSLhsl(138, 69%, 26%)
HSVhsv(138, 81%, 44%)
CMYKcmyk(81.4%, 0%, 56.6%, 55.7%)
CIE-LABlab(41.52, -40.68, 28.02)
CIE-LCHlch(41.52, 49.39, 145.44°)
OKLaboklab(48.23% -0.1093 0.0672)
OKLCHoklch(48.23% 0.128 148.4)
XYZxyz(6.7682, 12.1906, 4.9015)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157131 #711555
analogous
#277115 #157131 #15715F
triadic
#157131 #311571 #713115
tetradic
#157131 #152771 #711555 #715F15
square
#157131 #152771 #711555 #715F15
split-complementary
#157131 #5F1571 #711527
monochromatic
#051A0B #0B3D1B #157131 #1FA547 #29D75E

Accessibility & contrast

On white

6.11
#157131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#157131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157131
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157131#FFFFFF#000000##FFFFFF
##1571311.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72662B
Deuteranopia (green-blind)
#685F36
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #157131;
/* rgb */ color: rgb(21, 113, 49);
/* oklch */ color: oklch(48.2% 0.128 148.4);
Tailwind
colors: {
  custom: {
    50: '#649b6b',
    500: '#157131',
    950: '#000000',
  },
}
SCSS
$custom: #157131;
$custom-light: #649b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#157131",
  "rgb": {
    "r": 21,
    "g": 113,
    "b": 49
  },
  "hsl": {
    "h": 138.261,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48226,
    "c": 0.12833,
    "h": 148.4
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#157131
secondary
#A73B86
accent
#3CB6EB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #157131

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

Preview Lab → · Contrast checker → · Palette generator →

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