#157526#157526

#157526 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.143 H 145.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#157526
RGBrgb(21, 117, 38)
HSLhsl(131, 70%, 27%)
HSVhsv(131, 82%, 46%)
CMYKcmyk(82.1%, 0%, 67.5%, 54.1%)
CIE-LABlab(42.80, -43.65, 35.01)
CIE-LCHlch(42.80, 55.95, 141.26°)
OKLaboklab(49.25% -0.1177 0.0814)
OKLCHoklch(49.25% 0.143 145.3)
XYZxyz(7.0199, 13.0211, 3.9767)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157526 #751564
analogous
#347515 #157526 #157556
triadic
#157526 #261575 #752615
tetradic
#157526 #153475 #751564 #755615
square
#157526 #153475 #751564 #755615
split-complementary
#157526 #561575 #751534
monochromatic
#051A08 #0C4115 #157526 #1EA937 #2BD94A

Accessibility & contrast

On white

5.83
#157526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#157526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157526
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157526#FFFFFF#000000##FFFFFF
##1575261.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691C
Deuteranopia (green-blind)
#6C622D
Tritanopia (blue-blind)
#007265
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #157526;
/* rgb */ color: rgb(21, 117, 38);
/* oklch */ color: oklch(49.2% 0.143 145.3);
Tailwind
colors: {
  custom: {
    50: '#659e64',
    500: '#157526',
    950: '#000000',
  },
}
SCSS
$custom: #157526;
$custom-light: #659e64;
$custom-dark: #000000;
JSON
{
  "hex": "#157526",
  "rgb": {
    "r": 21,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 130.625,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49245,
    "c": 0.14307,
    "h": 145.3
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#157526
secondary
#AB3B97
accent
#3BCDEC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #157526

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

Preview Lab → · Contrast checker → · Palette generator →

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