#157311#157311

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

Color values

HEX#157311
RGBrgb(21, 115, 17)
HSLhsl(118, 74%, 26%)
HSVhsv(118, 85%, 45%)
CMYKcmyk(81.7%, 0%, 85.2%, 54.9%)
CIE-LABlab(41.94, -44.84, 42.37)
CIE-LCHlch(41.94, 61.69, 136.62°)
OKLaboklab(48.49% -0.1219 0.094)
OKLCHoklch(48.49% 0.154 142.4)
XYZxyz(6.5408, 12.4606, 2.5906)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157311 #6F1173
analogous
#467311 #157311 #11733E
triadic
#157311 #111573 #731115
tetradic
#157311 #114673 #6F1173 #733E11
square
#157311 #114673 #6F1173 #733E11
split-complementary
#157311 #3E1173 #731146
monochromatic
#051B04 #0B3E09 #157311 #1FA819 #28DE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157311#FFFFFF#000000##FFFFFF
##1573111.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: #157311;
/* rgb */ color: rgb(21, 115, 17);
/* oklch */ color: oklch(48.5% 0.154 142.4);
Tailwind
colors: {
  custom: {
    50: '#669c59',
    500: '#157311',
    950: '#000000',
  },
}
SCSS
$custom: #157311;
$custom-light: #669c59;
$custom-dark: #000000;
JSON
{
  "hex": "#157311",
  "rgb": {
    "r": 21,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 117.551,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48485,
    "c": 0.1539,
    "h": 142.4
  },
  "luminance": 0.12461
}

Semantic roles & 50–950 ramp

primary
#157311
secondary
#A536AA
accent
#37F1E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #157311

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

Preview Lab → · Contrast checker → · Palette generator →

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