#157F33#157F33

#157F33 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.145 H 147.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#157F33
RGBrgb(21, 127, 51)
HSLhsl(137, 72%, 29%)
HSVhsv(137, 83%, 50%)
CMYKcmyk(83.5%, 0%, 59.8%, 50.2%)
CIE-LABlab(46.41, -45.47, 32.84)
CIE-LCHlch(46.41, 56.08, 144.16°)
OKLaboklab(52.3% -0.1222 0.0779)
OKLCHoklch(52.3% 0.145 147.5)
XYZxyz(8.4955, 15.5761, 5.6901)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F33 #7F1561
analogous
#2C7F15 #157F33 #157F68
triadic
#157F33 #33157F #7F3315
tetradic
#157F33 #152C7F #7F1561 #7F6815
square
#157F33 #152C7F #7F1561 #7F6815
split-complementary
#157F33 #68157F #7F152C
monochromatic
#041A0B #0C4A1E #157F33 #1EB448 #31DD62

Accessibility & contrast

On white

5.10
#157F33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#157F33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F33
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F33#FFFFFF#000000##FFFFFF
##157F331.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81732B
Deuteranopia (green-blind)
#756B39
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f33;
/* rgb */ color: rgb(21, 127, 51);
/* oklch */ color: oklch(52.3% 0.145 147.5);
Tailwind
colors: {
  custom: {
    50: '#67a56d',
    500: '#157f33',
    950: '#000000',
  },
}
SCSS
$custom: #157f33;
$custom-light: #67a56d;
$custom-dark: #000000;
JSON
{
  "hex": "#157f33",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 51
  },
  "hsl": {
    "h": 136.981,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52295,
    "c": 0.14492,
    "h": 147.5
  },
  "luminance": 0.15577
}

Semantic roles & 50–950 ramp

primary
#157F33
secondary
#B43C92
accent
#39BBEE
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157F33

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

Preview Lab → · Contrast checker → · Palette generator →

#157F33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva