#157229#157229

#157229 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.4% C 0.137 H 146.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#157229
RGBrgb(21, 114, 41)
HSLhsl(133, 69%, 26%)
HSVhsv(133, 82%, 45%)
CMYKcmyk(81.6%, 0%, 64%, 55.3%)
CIE-LABlab(41.77, -42.20, 32.42)
CIE-LCHlch(41.77, 53.22, 142.47°)
OKLaboklab(48.41% -0.1136 0.0762)
OKLCHoklch(48.41% 0.137 146.2)
XYZxyz(6.7263, 12.3533, 4.1273)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157229 #72155E
analogous
#307215 #157229 #157258
triadic
#157229 #291572 #722915
tetradic
#157229 #153072 #72155E #725815
square
#157229 #153072 #72155E #725815
split-complementary
#157229 #581572 #721530
monochromatic
#051A09 #0B3E16 #157229 #1FA63C #2AD84F

Accessibility & contrast

On white

6.05
#157229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#157229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157229
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157229#FFFFFF#000000##FFFFFF
##1572291.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746721
Deuteranopia (green-blind)
#69602F
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157229;
/* rgb */ color: rgb(21, 114, 41);
/* oklch */ color: oklch(48.4% 0.137 146.2);
Tailwind
colors: {
  custom: {
    50: '#649b66',
    500: '#157229',
    950: '#000000',
  },
}
SCSS
$custom: #157229;
$custom-light: #649b66;
$custom-dark: #000000;
JSON
{
  "hex": "#157229",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 132.903,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48406,
    "c": 0.1368,
    "h": 146.2
  },
  "luminance": 0.12354
}

Semantic roles & 50–950 ramp

primary
#157229
secondary
#A83B91
accent
#3CC6EC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #157229

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

Preview Lab → · Contrast checker → · Palette generator →

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