#157E10#157E10

#157E10 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.167 H 142.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#157E10
RGBrgb(21, 126, 16)
HSLhsl(117, 77%, 28%)
HSVhsv(117, 87%, 49%)
CMYKcmyk(83.3%, 0%, 87.3%, 50.6%)
CIE-LABlab(45.79, -48.49, 46.18)
CIE-LCHlch(45.79, 66.96, 136.40°)
OKLaboklab(51.69% -0.1318 0.1018)
OKLCHoklch(51.69% 0.167 142.3)
XYZxyz(7.8632, 15.1176, 2.9937)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E10 #79107E
analogous
#4C7E10 #157E10 #107E42
triadic
#157E10 #10157E #7E1015
tetradic
#157E10 #104C7E #79107E #7E4210
square
#157E10 #104C7E #79107E #7E4210
split-complementary
#157E10 #42107E #7E104C
monochromatic
#051B03 #0C4809 #157E10 #1EB417 #2EE325

Accessibility & contrast

On white

5.22
#157E10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#157E10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E10
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E10#FFFFFF#000000##FFFFFF
##157E101.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#76691F
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157e10;
/* rgb */ color: rgb(21, 126, 16);
/* oklch */ color: oklch(51.7% 0.167 142.3);
Tailwind
colors: {
  custom: {
    50: '#69a45a',
    500: '#157e10',
    950: '#000000',
  },
}
SCSS
$custom: #157e10;
$custom-light: #69a45a;
$custom-dark: #000000;
JSON
{
  "hex": "#157e10",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 117.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51693,
    "c": 0.16653,
    "h": 142.3
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#157E10
secondary
#AF36B4
accent
#34F4EB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #157E10

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

Preview Lab → · Contrast checker → · Palette generator →

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