#157312#157312

#157312 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.5% C 0.153 H 142.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#157312
RGBrgb(21, 115, 18)
HSLhsl(118, 73%, 26%)
HSVhsv(118, 84%, 45%)
CMYKcmyk(81.7%, 0%, 84.3%, 54.9%)
CIE-LABlab(41.94, -44.78, 42.07)
CIE-LCHlch(41.94, 61.44, 136.79°)
OKLaboklab(48.49% -0.1217 0.0935)
OKLCHoklch(48.49% 0.153 142.5)
XYZxyz(6.5488, 12.4638, 2.6328)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157312 #701273
analogous
#457312 #157312 #12733F
triadic
#157312 #121573 #731215
tetradic
#157312 #124573 #701273 #733F12
square
#157312 #124573 #701273 #733F12
split-complementary
#157312 #3F1273 #731245
monochromatic
#051A04 #0B3E0A #157312 #1FA81A #29DD23

Accessibility & contrast

On white

6.01
#157312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#157312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157312
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157312#FFFFFF#000000##FFFFFF
##1573121.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C601E
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157312;
/* rgb */ color: rgb(21, 115, 18);
/* oklch */ color: oklch(48.5% 0.153 142.5);
Tailwind
colors: {
  custom: {
    50: '#669c59',
    500: '#157312',
    950: '#000000',
  },
}
SCSS
$custom: #157312;
$custom-light: #669c59;
$custom-dark: #000000;
JSON
{
  "hex": "#157312",
  "rgb": {
    "r": 21,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 118.144,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48491,
    "c": 0.15344,
    "h": 142.5
  },
  "luminance": 0.12465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #157312

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

Preview Lab → · Contrast checker → · Palette generator →

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