#157612#157612

#157612 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.4% C 0.157 H 142.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#157612
RGBrgb(21, 118, 18)
HSLhsl(118, 74%, 27%)
HSVhsv(118, 85%, 46%)
CMYKcmyk(82.2%, 0%, 84.7%, 53.7%)
CIE-LABlab(43.00, -45.77, 43.06)
CIE-LCHlch(43.00, 62.84, 136.75°)
OKLaboklab(49.37% -0.1244 0.0955)
OKLCHoklch(49.37% 0.157 142.5)
XYZxyz(6.8964, 13.1591, 2.7487)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157612 #731276
analogous
#477612 #157612 #127641
triadic
#157612 #121576 #761215
tetradic
#157612 #124776 #731276 #764112
square
#157612 #124776 #731276 #764112
split-complementary
#157612 #411276 #761247
monochromatic
#051B04 #0C410A #157612 #1EAB1A #2ADE25

Accessibility & contrast

On white

5.78
#157612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#157612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157612
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157612#FFFFFF#000000##FFFFFF
##1576121.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#6E631F
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #157612;
/* rgb */ color: rgb(21, 118, 18);
/* oklch */ color: oklch(49.4% 0.157 142.5);
Tailwind
colors: {
  custom: {
    50: '#679f5a',
    500: '#157612',
    950: '#000000',
  },
}
SCSS
$custom: #157612;
$custom-light: #679f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#157612",
  "rgb": {
    "r": 21,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 118.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49371,
    "c": 0.15682,
    "h": 142.5
  },
  "luminance": 0.1316
}

Semantic roles & 50–950 ramp

primary
#157612
secondary
#A937AD
accent
#38F0EB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #157612

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

Preview Lab → · Contrast checker → · Palette generator →

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