#157233#157233

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

Color values

HEX#157233
RGBrgb(21, 114, 51)
HSLhsl(139, 69%, 26%)
HSVhsv(139, 82%, 45%)
CMYKcmyk(81.6%, 0%, 55.3%, 55.3%)
CIE-LABlab(41.89, -40.73, 27.41)
CIE-LCHlch(41.89, 49.10, 146.06°)
OKLaboklab(48.55% -0.1094 0.066)
OKLCHoklch(48.55% 0.128 148.9)
XYZxyz(6.9235, 12.4322, 5.1661)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157233 #721554
analogous
#267215 #157233 #157262
triadic
#157233 #331572 #723315
tetradic
#157233 #152672 #721554 #726215
square
#157233 #152672 #721554 #726215
split-complementary
#157233 #621572 #721526
monochromatic
#051A0C #0B3E1C #157233 #1FA64A #2AD862

Accessibility & contrast

On white

6.02
#157233 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#157233 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157233
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157233#FFFFFF#000000##FFFFFF
##1572331.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672D
Deuteranopia (green-blind)
#696038
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157233;
/* rgb */ color: rgb(21, 114, 51);
/* oklch */ color: oklch(48.5% 0.128 148.9);
Tailwind
colors: {
  custom: {
    50: '#649b6c',
    500: '#157233',
    950: '#000000',
  },
}
SCSS
$custom: #157233;
$custom-light: #649b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#157233",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 51
  },
  "hsl": {
    "h": 139.355,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48548,
    "c": 0.12779,
    "h": 148.9
  },
  "luminance": 0.12433
}

Semantic roles & 50–950 ramp

primary
#157233
secondary
#A83B85
accent
#3CB3EC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #157233

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

Preview Lab → · Contrast checker → · Palette generator →

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