#158123#158123

#158123 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.160 H 144.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#158123
RGBrgb(21, 129, 35)
HSLhsl(128, 72%, 29%)
HSVhsv(128, 84%, 51%)
CMYKcmyk(83.7%, 0%, 72.9%, 49.4%)
CIE-LABlab(46.95, -48.07, 40.80)
CIE-LCHlch(46.95, 63.05, 139.67°)
OKLaboklab(52.69% -0.1298 0.0932)
OKLCHoklch(52.69% 0.16 144.3)
XYZxyz(8.4623, 15.9803, 4.2283)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158123 #811573
analogous
#3D8115 #158123 #158159
triadic
#158123 #231581 #812315
tetradic
#158123 #153D81 #811573 #815915
square
#158123 #153D81 #811573 #815915
split-complementary
#158123 #591581 #81153D
monochromatic
#041A07 #0C4C15 #158123 #1EB631 #33DE49

Accessibility & contrast

On white

5.00
#158123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#158123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158123
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158123#FFFFFF#000000##FFFFFF
##1581231.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837414
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #158123;
/* rgb */ color: rgb(21, 129, 35);
/* oklch */ color: oklch(52.7% 0.160 144.3);
Tailwind
colors: {
  custom: {
    50: '#69a764',
    500: '#158123',
    950: '#000000',
  },
}
SCSS
$custom: #158123;
$custom-light: #69a764;
$custom-dark: #000000;
JSON
{
  "hex": "#158123",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 127.778,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52689,
    "c": 0.15983,
    "h": 144.3
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

primary
#158123
secondary
#B63CA6
accent
#39D7EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #158123

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

Preview Lab → · Contrast checker → · Palette generator →

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