#157331#157331

#157331 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.131 H 148.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#157331
RGBrgb(21, 115, 49)
HSLhsl(138, 69%, 27%)
HSVhsv(138, 82%, 45%)
CMYKcmyk(81.7%, 0%, 57.4%, 54.9%)
CIE-LABlab(42.22, -41.42, 28.87)
CIE-LCHlch(42.22, 50.49, 145.13°)
OKLaboklab(48.81% -0.1113 0.0691)
OKLCHoklch(48.81% 0.131 148.2)
XYZxyz(6.9938, 12.6418, 4.9767)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157331 #731557
analogous
#287315 #157331 #157360
triadic
#157331 #311573 #733115
tetradic
#157331 #152873 #731557 #736015
square
#157331 #152873 #731557 #736015
split-complementary
#157331 #601573 #731528
monochromatic
#051A0B #0C3F1B #157331 #1EA747 #2AD85E

Accessibility & contrast

On white

5.95
#157331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#157331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157331
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157331#FFFFFF#000000##FFFFFF
##1573311.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682B
Deuteranopia (green-blind)
#6A6136
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #157331;
/* rgb */ color: rgb(21, 115, 49);
/* oklch */ color: oklch(48.8% 0.131 148.2);
Tailwind
colors: {
  custom: {
    50: '#649c6b',
    500: '#157331',
    950: '#000000',
  },
}
SCSS
$custom: #157331;
$custom-light: #649c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#157331",
  "rgb": {
    "r": 21,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 137.872,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48807,
    "c": 0.13101,
    "h": 148.2
  },
  "luminance": 0.12643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #157331

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

Preview Lab → · Contrast checker → · Palette generator →

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