#157843#157843

#157843 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.120 H 153.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#157843
RGBrgb(21, 120, 67)
HSLhsl(148, 70%, 28%)
HSVhsv(148, 83%, 47%)
CMYKcmyk(82.5%, 0%, 44.2%, 52.9%)
CIE-LABlab(44.23, -40.13, 21.54)
CIE-LCHlch(44.23, 45.55, 151.78°)
OKLaboklab(50.56% -0.1079 0.0533)
OKLCHoklch(50.56% 0.12 153.7)
XYZxyz(8.0381, 13.9966, 7.5871)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157843 #78154A
analogous
#187815 #157843 #157875
triadic
#157843 #431578 #784315
tetradic
#157843 #151878 #78154A #787515
square
#157843 #151878 #78154A #787515
split-complementary
#157843 #751578 #781518
monochromatic
#051A0F #0C4426 #157843 #1EAC60 #2DDA7E

Accessibility & contrast

On white

5.53
#157843 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#157843 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157843
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157843#FFFFFF#000000##FFFFFF
##1578431.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3F
Deuteranopia (green-blind)
#6D6547
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157843;
/* rgb */ color: rgb(21, 120, 67);
/* oklch */ color: oklch(50.6% 0.120 153.7);
Tailwind
colors: {
  custom: {
    50: '#65a078',
    500: '#157843',
    950: '#000000',
  },
}
SCSS
$custom: #157843;
$custom-light: #65a078;
$custom-dark: #000000;
JSON
{
  "hex": "#157843",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 67
  },
  "hsl": {
    "h": 147.879,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50559,
    "c": 0.12041,
    "h": 153.7
  },
  "luminance": 0.13998
}

Semantic roles & 50–950 ramp

primary
#157843
secondary
#AE3B78
accent
#3B9AED
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #157843

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

Preview Lab → · Contrast checker → · Palette generator →

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