#157127#157127

#157127 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.137 H 145.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#157127
RGBrgb(21, 113, 39)
HSLhsl(132, 69%, 26%)
HSVhsv(132, 81%, 44%)
CMYKcmyk(81.4%, 0%, 65.5%, 55.7%)
CIE-LABlab(41.40, -42.10, 32.98)
CIE-LCHlch(41.40, 53.48, 141.93°)
OKLaboklab(48.09% -0.1134 0.0772)
OKLCHoklch(48.09% 0.137 145.8)
XYZxyz(6.5801, 12.1154, 3.9108)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157127 #71155F
analogous
#317115 #157127 #157155
triadic
#157127 #271571 #712715
tetradic
#157127 #153171 #71155F #715515
square
#157127 #153171 #71155F #715515
split-complementary
#157127 #551571 #711531
monochromatic
#051A09 #0B3D15 #157127 #1FA539 #29D74B

Accessibility & contrast

On white

6.13
#157127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#157127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157127
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157127#FFFFFF#000000##FFFFFF
##1571271.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73661F
Deuteranopia (green-blind)
#695F2D
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #157127;
/* rgb */ color: rgb(21, 113, 39);
/* oklch */ color: oklch(48.1% 0.137 145.8);
Tailwind
colors: {
  custom: {
    50: '#649b64',
    500: '#157127',
    950: '#000000',
  },
}
SCSS
$custom: #157127;
$custom-light: #649b64;
$custom-dark: #000000;
JSON
{
  "hex": "#157127",
  "rgb": {
    "r": 21,
    "g": 113,
    "b": 39
  },
  "hsl": {
    "h": 131.739,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48089,
    "c": 0.1372,
    "h": 145.8
  },
  "luminance": 0.12116
}

Semantic roles & 50–950 ramp

primary
#157127
secondary
#A73B92
accent
#3CC9EB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #157127

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

Preview Lab → · Contrast checker → · Palette generator →

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