#157238#157238

#157238 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.123 H 150.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#157238
RGBrgb(21, 114, 56)
HSLhsl(143, 69%, 26%)
HSVhsv(143, 82%, 45%)
CMYKcmyk(81.6%, 0%, 50.9%, 55.3%)
CIE-LABlab(41.97, -39.88, 24.79)
CIE-LCHlch(41.97, 46.95, 148.14°)
OKLaboklab(48.63% -0.1071 0.0604)
OKLCHoklch(48.63% 0.123 150.6)
XYZxyz(7.0398, 12.4787, 5.7782)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157238 #72154F
analogous
#207215 #157238 #157267
triadic
#157238 #381572 #723815
tetradic
#157238 #152072 #72154F #726715
square
#157238 #152072 #72154F #726715
split-complementary
#157238 #671572 #721520
monochromatic
#051A0D #0B3E1F #157238 #1FA651 #2AD86B

Accessibility & contrast

On white

6.01
#157238 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#157238 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157238
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157238#FFFFFF#000000##FFFFFF
##1572381.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736833
Deuteranopia (green-blind)
#68603C
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157238;
/* rgb */ color: rgb(21, 114, 56);
/* oklch */ color: oklch(48.6% 0.123 150.6);
Tailwind
colors: {
  custom: {
    50: '#649b70',
    500: '#157238',
    950: '#000000',
  },
}
SCSS
$custom: #157238;
$custom-light: #649b70;
$custom-dark: #000000;
JSON
{
  "hex": "#157238",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 56
  },
  "hsl": {
    "h": 142.581,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48631,
    "c": 0.12296,
    "h": 150.6
  },
  "luminance": 0.1248
}

Semantic roles & 50–950 ramp

primary
#157238
secondary
#A83B7F
accent
#3CAAEC
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #157238

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

Preview Lab → · Contrast checker → · Palette generator →

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