#157726#157726

#157726 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.146 H 145.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#157726
RGBrgb(21, 119, 38)
HSLhsl(130, 70%, 27%)
HSVhsv(130, 82%, 47%)
CMYKcmyk(82.4%, 0%, 68.1%, 53.3%)
CIE-LABlab(43.50, -44.34, 35.79)
CIE-LCHlch(43.50, 56.98, 141.09°)
OKLaboklab(49.83% -0.1196 0.083)
OKLCHoklch(49.83% 0.146 145.2)
XYZxyz(7.2554, 13.4921, 4.0552)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157726 #771566
analogous
#357715 #157726 #157757
triadic
#157726 #261577 #772615
tetradic
#157726 #153577 #771566 #775715
square
#157726 #153577 #771566 #775715
split-complementary
#157726 #571577 #771535
monochromatic
#051A08 #0C4315 #157726 #1EAB37 #2DDA4B

Accessibility & contrast

On white

5.68
#157726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#157726 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157726
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157726#FFFFFF#000000##FFFFFF
##1577261.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1C
Deuteranopia (green-blind)
#6E642D
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #157726;
/* rgb */ color: rgb(21, 119, 38);
/* oklch */ color: oklch(49.8% 0.146 145.2);
Tailwind
colors: {
  custom: {
    50: '#669f64',
    500: '#157726',
    950: '#000000',
  },
}
SCSS
$custom: #157726;
$custom-light: #669f64;
$custom-dark: #000000;
JSON
{
  "hex": "#157726",
  "rgb": {
    "r": 21,
    "g": 119,
    "b": 38
  },
  "hsl": {
    "h": 130.408,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49827,
    "c": 0.14557,
    "h": 145.2
  },
  "luminance": 0.13493
}

Semantic roles & 50–950 ramp

primary
#157726
secondary
#AD3B99
accent
#3BCEED
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #157726

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

Preview Lab → · Contrast checker → · Palette generator →

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