#157228#157228

#157228 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.138 H 145.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#157228
RGBrgb(21, 114, 40)
HSLhsl(132, 69%, 26%)
HSVhsv(132, 82%, 45%)
CMYKcmyk(81.6%, 0%, 64.9%, 55.3%)
CIE-LABlab(41.76, -42.33, 32.90)
CIE-LCHlch(41.76, 53.62, 142.15°)
OKLaboklab(48.39% -0.114 0.0771)
OKLCHoklch(48.39% 0.138 145.9)
XYZxyz(6.7091, 12.3465, 4.0366)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157228 #72155F
analogous
#317215 #157228 #157257
triadic
#157228 #281572 #722815
tetradic
#157228 #153172 #72155F #725715
square
#157228 #153172 #72155F #725715
split-complementary
#157228 #571572 #721531
monochromatic
#051A09 #0B3E16 #157228 #1FA63A #2AD84D

Accessibility & contrast

On white

6.05
#157228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#157228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157228
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157228#FFFFFF#000000##FFFFFF
##1572281.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#6A602E
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157228;
/* rgb */ color: rgb(21, 114, 40);
/* oklch */ color: oklch(48.4% 0.138 145.9);
Tailwind
colors: {
  custom: {
    50: '#649c65',
    500: '#157228',
    950: '#000000',
  },
}
SCSS
$custom: #157228;
$custom-light: #649c65;
$custom-dark: #000000;
JSON
{
  "hex": "#157228",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 132.258,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48394,
    "c": 0.13764,
    "h": 145.9
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#157228
secondary
#A83B92
accent
#3CC8EC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #157228

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

Preview Lab → · Contrast checker → · Palette generator →

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