#158229#158229

#158229 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.0% C 0.157 H 145.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#158229
RGBrgb(21, 130, 41)
HSLhsl(131, 72%, 30%)
HSVhsv(131, 84%, 51%)
CMYKcmyk(83.8%, 0%, 68.5%, 49%)
CIE-LABlab(47.34, -47.77, 38.65)
CIE-LCHlch(47.34, 61.45, 141.03°)
OKLaboklab(53.04% -0.1288 0.0894)
OKLCHoklch(53.04% 0.157 145.2)
XYZxyz(8.6915, 16.2837, 4.7824)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158229 #82156E
analogous
#388215 #158229 #158260
triadic
#158229 #291582 #822915
tetradic
#158229 #153882 #82156E #826015
square
#158229 #153882 #82156E #826015
split-complementary
#158229 #601582 #821538
monochromatic
#041A08 #0C4D18 #158229 #1EB73A #33DE53

Accessibility & contrast

On white

4.93
#158229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#158229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158229
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158229#FFFFFF#000000##FFFFFF
##1582291.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751D
Deuteranopia (green-blind)
#796D31
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #158229;
/* rgb */ color: rgb(21, 130, 41);
/* oklch */ color: oklch(53.0% 0.157 145.2);
Tailwind
colors: {
  custom: {
    50: '#69a767',
    500: '#158229',
    950: '#000000',
  },
}
SCSS
$custom: #158229;
$custom-light: #69a767;
$custom-dark: #000000;
JSON
{
  "hex": "#158229",
  "rgb": {
    "r": 21,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 131.009,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53035,
    "c": 0.15678,
    "h": 145.2
  },
  "luminance": 0.16285
}

Semantic roles & 50–950 ramp

primary
#158229
secondary
#B73CA0
accent
#39CEEF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071006
muted
#7A7F7A

Preview Lab

Preview with #158229

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

Preview Lab → · Contrast checker → · Palette generator →

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