#157412#157412

#157412 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.155 H 142.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#157412
RGBrgb(21, 116, 18)
HSLhsl(118, 73%, 26%)
HSVhsv(118, 84%, 45%)
CMYKcmyk(81.9%, 0%, 84.5%, 54.5%)
CIE-LABlab(42.30, -45.11, 42.40)
CIE-LCHlch(42.30, 61.91, 136.78°)
OKLaboklab(48.79% -0.1226 0.0942)
OKLCHoklch(48.79% 0.155 142.5)
XYZxyz(6.6634, 12.6931, 2.6710)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157412 #711274
analogous
#467412 #157412 #127440
triadic
#157412 #121574 #741215
tetradic
#157412 #124674 #711274 #744012
square
#157412 #124674 #711274 #744012
split-complementary
#157412 #401274 #741246
monochromatic
#051A04 #0B3F0A #157412 #1FA91A #29DD23

Accessibility & contrast

On white

5.93
#157412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#157412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157412
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157412#FFFFFF#000000##FFFFFF
##1574121.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #157412;
/* rgb */ color: rgb(21, 116, 18);
/* oklch */ color: oklch(48.8% 0.155 142.5);
Tailwind
colors: {
  custom: {
    50: '#669d5a',
    500: '#157412',
    950: '#000000',
  },
}
SCSS
$custom: #157412;
$custom-light: #669d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#157412",
  "rgb": {
    "r": 21,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 118.163,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48785,
    "c": 0.15457,
    "h": 142.5
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#157412
secondary
#A737AB
accent
#38F0EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #157412

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

Preview Lab → · Contrast checker → · Palette generator →

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