#157D1E#157D1E

#157D1E is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.158 H 143.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#157D1E
RGBrgb(21, 125, 30)
HSLhsl(125, 71%, 29%)
HSVhsv(125, 83%, 49%)
CMYKcmyk(83.2%, 0%, 76%, 51%)
CIE-LABlab(45.52, -47.20, 41.34)
CIE-LCHlch(45.52, 62.74, 138.79°)
OKLaboklab(51.49% -0.1277 0.0937)
OKLCHoklch(51.49% 0.158 143.7)
XYZxyz(7.8767, 14.9194, 3.6927)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D1E #7D1574
analogous
#407D15 #157D1E #157D52
triadic
#157D1E #1E157D #7D1E15
tetradic
#157D1E #15407D #7D1574 #7D5215
square
#157D1E #15407D #7D1574 #7D5215
split-complementary
#157D1E #52157D #7D1540
monochromatic
#041A06 #0C4911 #157D1E #1EB12B #30DC3F

Accessibility & contrast

On white

5.27
#157D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#157D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D1E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D1E#FFFFFF#000000##FFFFFF
##157D1E1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80700C
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157d1e;
/* rgb */ color: rgb(21, 125, 30);
/* oklch */ color: oklch(51.5% 0.158 143.7);
Tailwind
colors: {
  custom: {
    50: '#68a460',
    500: '#157d1e',
    950: '#000000',
  },
}
SCSS
$custom: #157d1e;
$custom-light: #68a460;
$custom-dark: #000000;
JSON
{
  "hex": "#157d1e",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 125.192,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51492,
    "c": 0.15836,
    "h": 143.7
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

primary
#157D1E
secondary
#B23CA8
accent
#3ADEEE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157D1E

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

Preview Lab → · Contrast checker → · Palette generator →

#157D1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva