#157938#157938

#157938 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.132 H 149.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#157938
RGBrgb(21, 121, 56)
HSLhsl(141, 70%, 28%)
HSVhsv(141, 83%, 47%)
CMYKcmyk(82.6%, 0%, 53.7%, 52.5%)
CIE-LABlab(44.40, -42.52, 27.82)
CIE-LCHlch(44.40, 50.81, 146.81°)
OKLaboklab(50.65% -0.1142 0.0672)
OKLCHoklch(50.65% 0.132 149.5)
XYZxyz(7.8598, 14.1187, 6.0516)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157938 #791556
analogous
#247915 #157938 #15796A
triadic
#157938 #381579 #793815
tetradic
#157938 #152479 #791556 #796A15
square
#157938 #152479 #791556 #796A15
split-complementary
#157938 #6A1579 #791524
monochromatic
#051A0C #0C4520 #157938 #1EAD50 #2EDB6A

Accessibility & contrast

On white

5.49
#157938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#157938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157938
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157938#FFFFFF#000000##FFFFFF
##1579381.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E32
Deuteranopia (green-blind)
#6F663D
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157938;
/* rgb */ color: rgb(21, 121, 56);
/* oklch */ color: oklch(50.6% 0.132 149.5);
Tailwind
colors: {
  custom: {
    50: '#66a170',
    500: '#157938',
    950: '#000000',
  },
}
SCSS
$custom: #157938;
$custom-light: #66a170;
$custom-dark: #000000;
JSON
{
  "hex": "#157938",
  "rgb": {
    "r": 21,
    "g": 121,
    "b": 56
  },
  "hsl": {
    "h": 141,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50648,
    "c": 0.13249,
    "h": 149.5
  },
  "luminance": 0.1412
}

Semantic roles & 50–950 ramp

primary
#157938
secondary
#AF3B86
accent
#3BAFED
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157938

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

Preview Lab → · Contrast checker → · Palette generator →

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