#157230#157230

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

Color values

HEX#157230
RGBrgb(21, 114, 48)
HSLhsl(137, 69%, 26%)
HSVhsv(137, 82%, 45%)
CMYKcmyk(81.6%, 0%, 57.9%, 55.3%)
CIE-LABlab(41.86, -41.20, 28.96)
CIE-LCHlch(41.86, 50.36, 144.90°)
OKLaboklab(48.5% -0.1107 0.0692)
OKLCHoklch(48.5% 0.131 148)
XYZxyz(6.8595, 12.4066, 4.8289)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157230 #721557
analogous
#297215 #157230 #15725F
triadic
#157230 #301572 #723015
tetradic
#157230 #152972 #721557 #725F15
square
#157230 #152972 #721557 #725F15
split-complementary
#157230 #5F1572 #721529
monochromatic
#051A0B #0B3E1A #157230 #1FA646 #2AD85C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157230#FFFFFF#000000##FFFFFF
##1572301.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)
#73672A
Deuteranopia (green-blind)
#696035
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157230;
/* rgb */ color: rgb(21, 114, 48);
/* oklch */ color: oklch(48.5% 0.131 148.0);
Tailwind
colors: {
  custom: {
    50: '#649b6a',
    500: '#157230',
    950: '#000000',
  },
}
SCSS
$custom: #157230;
$custom-light: #649b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#157230",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 48
  },
  "hsl": {
    "h": 137.419,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48502,
    "c": 0.1306,
    "h": 148
  },
  "luminance": 0.12407
}

Semantic roles & 50–950 ramp

primary
#157230
secondary
#A83B88
accent
#3CB9EC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #157230

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

Preview Lab → · Contrast checker → · Palette generator →

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