#157235#157235

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

Color values

HEX#157235
RGBrgb(21, 114, 53)
HSLhsl(141, 69%, 26%)
HSVhsv(141, 82%, 45%)
CMYKcmyk(81.6%, 0%, 53.5%, 55.3%)
CIE-LABlab(41.92, -40.40, 26.37)
CIE-LCHlch(41.92, 48.24, 146.86°)
OKLaboklab(48.58% -0.1085 0.0638)
OKLCHoklch(48.58% 0.126 149.5)
XYZxyz(6.9686, 12.4503, 5.4033)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157235 #721552
analogous
#247215 #157235 #157264
triadic
#157235 #351572 #723515
tetradic
#157235 #152472 #721552 #726415
square
#157235 #152472 #721552 #726415
split-complementary
#157235 #641572 #721524
monochromatic
#051A0C #0B3E1D #157235 #1FA64D #2AD866

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157235#FFFFFF#000000##FFFFFF
##1572351.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)
#736730
Deuteranopia (green-blind)
#68603A
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157235;
/* rgb */ color: rgb(21, 114, 53);
/* oklch */ color: oklch(48.6% 0.126 149.5);
Tailwind
colors: {
  custom: {
    50: '#649b6d',
    500: '#157235',
    950: '#000000',
  },
}
SCSS
$custom: #157235;
$custom-light: #649b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#157235",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 53
  },
  "hsl": {
    "h": 140.645,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4858,
    "c": 0.12588,
    "h": 149.5
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#157235
secondary
#A83B82
accent
#3CAFEC
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #157235

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

Preview Lab → · Contrast checker → · Palette generator →

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