#157231#157231

#157231 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.130 H 148.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#157231
RGBrgb(21, 114, 49)
HSLhsl(138, 69%, 26%)
HSVhsv(138, 82%, 45%)
CMYKcmyk(81.6%, 0%, 57%, 55.3%)
CIE-LABlab(41.87, -41.05, 28.45)
CIE-LCHlch(41.87, 49.94, 145.28°)
OKLaboklab(48.52% -0.1103 0.0682)
OKLCHoklch(48.52% 0.13 148.3)
XYZxyz(6.8804, 12.4150, 4.9388)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157231 #721556
analogous
#277215 #157231 #157260
triadic
#157231 #311572 #723115
tetradic
#157231 #152772 #721556 #726015
square
#157231 #152772 #721556 #726015
split-complementary
#157231 #601572 #721527
monochromatic
#051A0B #0B3E1B #157231 #1FA647 #2AD85E

Accessibility & contrast

On white

6.03
#157231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#157231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157231
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157231#FFFFFF#000000##FFFFFF
##1572311.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672B
Deuteranopia (green-blind)
#696036
Tritanopia (blue-blind)
#007063
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157231;
/* rgb */ color: rgb(21, 114, 49);
/* oklch */ color: oklch(48.5% 0.130 148.3);
Tailwind
colors: {
  custom: {
    50: '#649b6b',
    500: '#157231',
    950: '#000000',
  },
}
SCSS
$custom: #157231;
$custom-light: #649b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#157231",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 138.065,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48517,
    "c": 0.12967,
    "h": 148.3
  },
  "luminance": 0.12416
}

Semantic roles & 50–950 ramp

primary
#157231
secondary
#A83B87
accent
#3CB7EC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #157231

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

Preview Lab → · Contrast checker → · Palette generator →

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