#157334#157334

#157334 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.128 H 149.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#157334
RGBrgb(21, 115, 52)
HSLhsl(140, 69%, 27%)
HSVhsv(140, 82%, 45%)
CMYKcmyk(81.7%, 0%, 54.8%, 54.9%)
CIE-LABlab(42.26, -40.94, 27.32)
CIE-LCHlch(42.26, 49.22, 146.28°)
OKLaboklab(48.85% -0.11 0.0659)
OKLCHoklch(48.85% 0.128 149.1)
XYZxyz(7.0592, 12.6680, 5.3213)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157334 #731554
analogous
#257315 #157334 #157363
triadic
#157334 #341573 #733415
tetradic
#157334 #152573 #731554 #736315
square
#157334 #152573 #731554 #736315
split-complementary
#157334 #631573 #731525
monochromatic
#051A0C #0C3F1D #157334 #1EA74B #2AD864

Accessibility & contrast

On white

5.94
#157334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157334
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157334#FFFFFF#000000##FFFFFF
##1573341.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682E
Deuteranopia (green-blind)
#696139
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #157334;
/* rgb */ color: rgb(21, 115, 52);
/* oklch */ color: oklch(48.9% 0.128 149.1);
Tailwind
colors: {
  custom: {
    50: '#649c6d',
    500: '#157334',
    950: '#000000',
  },
}
SCSS
$custom: #157334;
$custom-light: #649c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#157334",
  "rgb": {
    "r": 21,
    "g": 115,
    "b": 52
  },
  "hsl": {
    "h": 139.787,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48853,
    "c": 0.12819,
    "h": 149.1
  },
  "luminance": 0.12669
}

Semantic roles & 50–950 ramp

primary
#157334
secondary
#A93B85
accent
#3CB2EC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #157334

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

Preview Lab → · Contrast checker → · Palette generator →

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