#157522#157522

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

Color values

HEX#157522
RGBrgb(21, 117, 34)
HSLhsl(128, 70%, 27%)
HSVhsv(128, 82%, 46%)
CMYKcmyk(82.1%, 0%, 70.9%, 54.1%)
CIE-LABlab(42.76, -44.10, 36.79)
CIE-LCHlch(42.76, 57.43, 140.16°)
OKLaboklab(49.2% -0.1191 0.0847)
OKLCHoklch(49.2% 0.146 144.6)
XYZxyz(6.9588, 12.9967, 3.6549)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157522 #751568
analogous
#387515 #157522 #157552
triadic
#157522 #221575 #752215
tetradic
#157522 #153875 #751568 #755215
square
#157522 #153875 #751568 #755215
split-complementary
#157522 #521575 #751538
monochromatic
#051A08 #0C4113 #157522 #1EA931 #2BD943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157522#FFFFFF#000000##FFFFFF
##1575221.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)
#776916
Deuteranopia (green-blind)
#6D622A
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #157522;
/* rgb */ color: rgb(21, 117, 34);
/* oklch */ color: oklch(49.2% 0.146 144.6);
Tailwind
colors: {
  custom: {
    50: '#669e62',
    500: '#157522',
    950: '#000000',
  },
}
SCSS
$custom: #157522;
$custom-light: #669e62;
$custom-dark: #000000;
JSON
{
  "hex": "#157522",
  "rgb": {
    "r": 21,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 128.125,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49203,
    "c": 0.14611,
    "h": 144.6
  },
  "luminance": 0.12998
}

Semantic roles & 50–950 ramp

primary
#157522
secondary
#AB3B9C
accent
#3BD4EC
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #157522

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

Preview Lab → · Contrast checker → · Palette generator →

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