#157846#157846

#157846 is a mid, moderate green. Relative luminance 0.140; OKLCH L 50.6% C 0.117 H 155.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#157846
RGBrgb(21, 120, 70)
HSLhsl(150, 70%, 28%)
HSVhsv(150, 83%, 47%)
CMYKcmyk(82.5%, 0%, 41.7%, 52.9%)
CIE-LABlab(44.28, -39.53, 19.91)
CIE-LCHlch(44.28, 44.26, 153.26°)
OKLaboklab(50.62% -0.1065 0.0496)
OKLCHoklch(50.62% 0.117 155)
XYZxyz(8.1304, 14.0336, 8.0734)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157846 #781547
analogous
#157815 #157846 #157877
triadic
#157846 #461578 #784615
tetradic
#157846 #151578 #781547 #787715
square
#157846 #151578 #781547 #787715
split-complementary
#157846 #771578 #781515
monochromatic
#051A0F #0C4428 #157846 #1EAC64 #2DDA83

Accessibility & contrast

On white

5.52
#157846 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#157846 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157846
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157846#FFFFFF#000000##FFFFFF
##1578461.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E43
Deuteranopia (green-blind)
#6C6549
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157846;
/* rgb */ color: rgb(21, 120, 70);
/* oklch */ color: oklch(50.6% 0.117 155.0);
Tailwind
colors: {
  custom: {
    50: '#65a07a',
    500: '#157846',
    950: '#000000',
  },
}
SCSS
$custom: #157846;
$custom-light: #65a07a;
$custom-dark: #000000;
JSON
{
  "hex": "#157846",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 70
  },
  "hsl": {
    "h": 149.697,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5062,
    "c": 0.11744,
    "h": 155
  },
  "luminance": 0.14035
}

Semantic roles & 50–950 ramp

primary
#157846
secondary
#AE3B75
accent
#3B95ED
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #157846

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

Preview Lab → · Contrast checker → · Palette generator →

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