#157243#157243

#157243 is a mid, moderate green. Relative luminance 0.126; OKLCH L 48.8% C 0.112 H 155.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#157243
RGBrgb(21, 114, 67)
HSLhsl(150, 69%, 26%)
HSVhsv(150, 82%, 45%)
CMYKcmyk(81.6%, 0%, 41.2%, 55.3%)
CIE-LABlab(42.15, -37.74, 18.81)
CIE-LCHlch(42.15, 42.17, 153.50°)
OKLaboklab(48.84% -0.1017 0.0469)
OKLCHoklch(48.84% 0.112 155.2)
XYZxyz(7.3390, 12.5984, 7.3540)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157243 #721544
analogous
#167215 #157243 #157272
triadic
#157243 #431572 #724315
tetradic
#157243 #151672 #721544 #727215
square
#157243 #151672 #721544 #727215
split-complementary
#157243 #721572 #721516
monochromatic
#051A0F #0B3E25 #157243 #1FA661 #2AD880

Accessibility & contrast

On white

5.97
#157243 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#157243 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157243
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157243#FFFFFF#000000##FFFFFF
##1572431.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726840
Deuteranopia (green-blind)
#676046
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157243;
/* rgb */ color: rgb(21, 114, 67);
/* oklch */ color: oklch(48.8% 0.112 155.2);
Tailwind
colors: {
  custom: {
    50: '#649b77',
    500: '#157243',
    950: '#000000',
  },
}
SCSS
$custom: #157243;
$custom-light: #649b77;
$custom-dark: #000000;
JSON
{
  "hex": "#157243",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 67
  },
  "hsl": {
    "h": 149.677,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48844,
    "c": 0.11202,
    "h": 155.2
  },
  "luminance": 0.12599
}

Semantic roles & 50–950 ramp

primary
#157243
secondary
#A83B72
accent
#3C95EC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E09
muted
#7A7E7B

Preview Lab

Preview with #157243

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

Preview Lab → · Contrast checker → · Palette generator →

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