#158310#158310

#158310 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.1% C 0.172 H 142.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#158310
RGBrgb(21, 131, 16)
HSLhsl(117, 78%, 29%)
HSVhsv(117, 88%, 51%)
CMYKcmyk(84%, 0%, 87.8%, 48.6%)
CIE-LABlab(47.53, -50.08, 47.74)
CIE-LCHlch(47.53, 69.19, 136.37°)
OKLaboklab(53.14% -0.1361 0.1051)
OKLCHoklch(53.14% 0.172 142.3)
XYZxyz(8.5186, 16.4284, 3.2122)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158310 #7E1083
analogous
#4F8310 #158310 #108345
triadic
#158310 #101583 #831015
tetradic
#158310 #104F83 #7E1083 #834510
square
#158310 #104F83 #7E1083 #834510
split-complementary
#158310 #451083 #83104F
monochromatic
#041B03 #0C4C09 #158310 #1EBA17 #31E529

Accessibility & contrast

On white

4.90
#158310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#158310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158310
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158310#FFFFFF#000000##FFFFFF
##1583101.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#007F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #158310;
/* rgb */ color: rgb(21, 131, 16);
/* oklch */ color: oklch(53.1% 0.172 142.3);
Tailwind
colors: {
  custom: {
    50: '#6aa85b',
    500: '#158310',
    950: '#000000',
  },
}
SCSS
$custom: #158310;
$custom-light: #6aa85b;
$custom-dark: #000000;
JSON
{
  "hex": "#158310",
  "rgb": {
    "r": 21,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 117.391,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5314,
    "c": 0.17196,
    "h": 142.3
  },
  "luminance": 0.16429
}

Semantic roles & 50–950 ramp

primary
#158310
secondary
#B336B9
accent
#33F5EC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#081004
muted
#7B7F79

Preview Lab

Preview with #158310

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

Preview Lab → · Contrast checker → · Palette generator →

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