#157823#157823

#157823 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.149 H 144.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#157823
RGBrgb(21, 120, 35)
HSLhsl(128, 70%, 28%)
HSVhsv(128, 83%, 47%)
CMYKcmyk(82.5%, 0%, 70.8%, 52.9%)
CIE-LABlab(43.82, -45.02, 37.49)
CIE-LCHlch(43.82, 58.59, 140.22°)
OKLaboklab(50.09% -0.1215 0.0863)
OKLCHoklch(50.09% 0.149 144.6)
XYZxyz(7.3286, 13.7128, 3.8504)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157823 #78156A
analogous
#387815 #157823 #157855
triadic
#157823 #231578 #782315
tetradic
#157823 #153878 #78156A #785515
square
#157823 #153878 #78156A #785515
split-complementary
#157823 #551578 #781538
monochromatic
#051A08 #0C4414 #157823 #1EAC32 #2DDA46

Accessibility & contrast

On white

5.61
#157823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#157823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157823
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157823#FFFFFF#000000##FFFFFF
##1578231.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C17
Deuteranopia (green-blind)
#70652B
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #157823;
/* rgb */ color: rgb(21, 120, 35);
/* oklch */ color: oklch(50.1% 0.149 144.6);
Tailwind
colors: {
  custom: {
    50: '#66a063',
    500: '#157823',
    950: '#000000',
  },
}
SCSS
$custom: #157823;
$custom-light: #66a063;
$custom-dark: #000000;
JSON
{
  "hex": "#157823",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 128.485,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50087,
    "c": 0.14905,
    "h": 144.6
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#157823
secondary
#AE3B9D
accent
#3BD4ED
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F05
muted
#7A7E7A

Preview Lab

Preview with #157823

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

Preview Lab → · Contrast checker → · Palette generator →

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