#157830#157830

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

Color values

HEX#157830
RGBrgb(21, 120, 48)
HSLhsl(136, 70%, 28%)
HSVhsv(136, 83%, 47%)
CMYKcmyk(82.5%, 0%, 60%, 52.9%)
CIE-LABlab(43.95, -43.40, 31.45)
CIE-LCHlch(43.95, 53.60, 144.07°)
OKLaboklab(50.24% -0.1167 0.0747)
OKLCHoklch(50.24% 0.139 147.4)
XYZxyz(7.5586, 13.8049, 5.0620)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157830 #78155D
analogous
#2B7815 #157830 #157862
triadic
#157830 #301578 #783015
tetradic
#157830 #152B78 #78155D #786215
square
#157830 #152B78 #78155D #786215
split-complementary
#157830 #621578 #78152B
monochromatic
#051A0A #0C441B #157830 #1EAC45 #2DDA5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157830#FFFFFF#000000##FFFFFF
##1578301.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)
#796D29
Deuteranopia (green-blind)
#6F6536
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #157830;
/* rgb */ color: rgb(21, 120, 48);
/* oklch */ color: oklch(50.2% 0.139 147.4);
Tailwind
colors: {
  custom: {
    50: '#66a06b',
    500: '#157830',
    950: '#000000',
  },
}
SCSS
$custom: #157830;
$custom-light: #66a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#157830",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 48
  },
  "hsl": {
    "h": 136.364,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50241,
    "c": 0.13852,
    "h": 147.4
  },
  "luminance": 0.13806
}

Semantic roles & 50–950 ramp

primary
#157830
secondary
#AE3B8E
accent
#3BBCED
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #157830

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

Preview Lab → · Contrast checker → · Palette generator →

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