#157831#157831

#157831 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.138 H 147.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#157831
RGBrgb(21, 120, 49)
HSLhsl(137, 70%, 28%)
HSVhsv(137, 83%, 47%)
CMYKcmyk(82.5%, 0%, 59.2%, 52.9%)
CIE-LABlab(43.96, -43.25, 30.95)
CIE-LCHlch(43.96, 53.19, 144.41°)
OKLaboklab(50.25% -0.1162 0.0737)
OKLCHoklch(50.25% 0.138 147.6)
XYZxyz(7.5795, 13.8132, 5.1719)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157831 #78155C
analogous
#2A7815 #157831 #157863
triadic
#157831 #311578 #783115
tetradic
#157831 #152A78 #78155C #786315
square
#157831 #152A78 #78155C #786315
split-complementary
#157831 #631578 #78152A
monochromatic
#051A0B #0C441C #157831 #1EAC46 #2DDA5E

Accessibility & contrast

On white

5.58
#157831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#157831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157831
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157831#FFFFFF#000000##FFFFFF
##1578311.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D2A
Deuteranopia (green-blind)
#6E6537
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #157831;
/* rgb */ color: rgb(21, 120, 49);
/* oklch */ color: oklch(50.3% 0.138 147.6);
Tailwind
colors: {
  custom: {
    50: '#66a06b',
    500: '#157831',
    950: '#000000',
  },
}
SCSS
$custom: #157831;
$custom-light: #66a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#157831",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 49
  },
  "hsl": {
    "h": 136.97,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50254,
    "c": 0.13762,
    "h": 147.6
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#157831
secondary
#AE3B8D
accent
#3BBBED
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #157831

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

Preview Lab → · Contrast checker → · Palette generator →

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