#157946#157946

#157946 is a mid, moderate green. Relative luminance 0.143; OKLCH L 50.9% C 0.119 H 154.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#157946
RGBrgb(21, 121, 70)
HSLhsl(149, 70%, 28%)
HSVhsv(149, 83%, 47%)
CMYKcmyk(82.6%, 0%, 42.1%, 52.5%)
CIE-LABlab(44.63, -39.92, 20.36)
CIE-LCHlch(44.63, 44.82, 152.97°)
OKLaboklab(50.91% -0.1075 0.0507)
OKLCHoklch(50.91% 0.119 154.8)
XYZxyz(8.2513, 14.2754, 8.1137)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157946 #791548
analogous
#167915 #157946 #157978
triadic
#157946 #461579 #794615
tetradic
#157946 #151679 #791548 #797815
square
#157946 #151679 #791548 #797815
split-complementary
#157946 #781579 #791516
monochromatic
#051A0F #0C4528 #157946 #1EAD64 #2EDB82

Accessibility & contrast

On white

5.45
#157946 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#157946 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157946
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157946#FFFFFF#000000##FFFFFF
##1579461.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E42
Deuteranopia (green-blind)
#6D6649
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157946;
/* rgb */ color: rgb(21, 121, 70);
/* oklch */ color: oklch(50.9% 0.119 154.8);
Tailwind
colors: {
  custom: {
    50: '#65a17a',
    500: '#157946',
    950: '#000000',
  },
}
SCSS
$custom: #157946;
$custom-light: #65a17a;
$custom-dark: #000000;
JSON
{
  "hex": "#157946",
  "rgb": {
    "r": 21,
    "g": 121,
    "b": 70
  },
  "hsl": {
    "h": 149.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50905,
    "c": 0.11883,
    "h": 154.8
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

primary
#157946
secondary
#AF3B76
accent
#3B96ED
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157946

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

Preview Lab → · Contrast checker → · Palette generator →

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