#157832#157832

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

Color values

HEX#157832
RGBrgb(21, 120, 50)
HSLhsl(138, 70%, 28%)
HSVhsv(138, 83%, 47%)
CMYKcmyk(82.5%, 0%, 58.3%, 52.9%)
CIE-LABlab(43.98, -43.10, 30.45)
CIE-LCHlch(43.98, 52.78, 144.76°)
OKLaboklab(50.27% -0.1158 0.0727)
OKLCHoklch(50.27% 0.137 147.9)
XYZxyz(7.6008, 13.8217, 5.2843)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157832 #78155B
analogous
#297815 #157832 #157864
triadic
#157832 #321578 #783215
tetradic
#157832 #152978 #78155B #786415
square
#157832 #152978 #78155B #786415
split-complementary
#157832 #641578 #781529
monochromatic
#051A0B #0C441C #157832 #1EAC48 #2DDA60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157832#FFFFFF#000000##FFFFFF
##1578321.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)
#796D2B
Deuteranopia (green-blind)
#6E6538
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #157832;
/* rgb */ color: rgb(21, 120, 50);
/* oklch */ color: oklch(50.3% 0.137 147.9);
Tailwind
colors: {
  custom: {
    50: '#66a06c',
    500: '#157832',
    950: '#000000',
  },
}
SCSS
$custom: #157832;
$custom-light: #66a06c;
$custom-dark: #000000;
JSON
{
  "hex": "#157832",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 50
  },
  "hsl": {
    "h": 137.576,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50269,
    "c": 0.13672,
    "h": 147.9
  },
  "luminance": 0.13823
}

Semantic roles & 50–950 ramp

primary
#157832
secondary
#AE3B8C
accent
#3BB9ED
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #157832

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

Preview Lab → · Contrast checker → · Palette generator →

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