#157E1E#157E1E

#157E1E is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.160 H 143.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#157E1E
RGBrgb(21, 126, 30)
HSLhsl(125, 71%, 29%)
HSVhsv(125, 83%, 49%)
CMYKcmyk(83.3%, 0%, 76.2%, 50.6%)
CIE-LABlab(45.87, -47.53, 41.69)
CIE-LCHlch(45.87, 63.22, 138.74°)
OKLaboklab(51.78% -0.1286 0.0944)
OKLCHoklch(51.78% 0.16 143.7)
XYZxyz(8.0039, 15.1739, 3.7351)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E1E #7E1575
analogous
#417E15 #157E1E #157E53
triadic
#157E1E #1E157E #7E1E15
tetradic
#157E1E #15417E #7E1575 #7E5315
square
#157E1E #15417E #7E1575 #7E5315
split-complementary
#157E1E #53157E #7E1541
monochromatic
#041A06 #0C4A12 #157E1E #1EB22A #31DD40

Accessibility & contrast

On white

5.20
#157E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#157E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E1E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E1E#FFFFFF#000000##FFFFFF
##157E1E1.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710C
Deuteranopia (green-blind)
#756A28
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e1e;
/* rgb */ color: rgb(21, 126, 30);
/* oklch */ color: oklch(51.8% 0.160 143.7);
Tailwind
colors: {
  custom: {
    50: '#68a461',
    500: '#157e1e',
    950: '#000000',
  },
}
SCSS
$custom: #157e1e;
$custom-light: #68a461;
$custom-dark: #000000;
JSON
{
  "hex": "#157e1e",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 125.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51781,
    "c": 0.15953,
    "h": 143.7
  },
  "luminance": 0.15175
}

Semantic roles & 50–950 ramp

primary
#157E1E
secondary
#B33CA9
accent
#3ADFEE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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