#155123#155123

#155123 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.097 H 147.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#155123
RGBrgb(21, 81, 35)
HSLhsl(134, 59%, 20%)
HSVhsv(134, 74%, 32%)
CMYKcmyk(74.1%, 0%, 56.8%, 68.2%)
CIE-LABlab(29.83, -30.31, 21.47)
CIE-LCHlch(29.83, 37.15, 144.69°)
OKLaboklab(38.49% -0.0817 0.0518)
OKLCHoklch(38.49% 0.097 147.7)
XYZxyz(3.5548, 6.1653, 2.5925)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155123 #511543
analogous
#255115 #155123 #155141
triadic
#155123 #231551 #512315
tetradic
#155123 #152551 #511543 #514115
square
#155123 #152551 #511543 #514115
split-complementary
#155123 #411551 #511525
monochromatic
#06180A #08200E #155123 #228238 #2EB24D

Accessibility & contrast

On white

9.40
#155123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#155123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155123
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155123#FFFFFF#000000##FFFFFF
##1551231.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491F
Deuteranopia (green-blind)
#4B4426
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #155123;
/* rgb */ color: rgb(21, 81, 35);
/* oklch */ color: oklch(38.5% 0.097 147.7);
Tailwind
colors: {
  custom: {
    50: '#5c825f',
    500: '#155123',
    950: '#000000',
  },
}
SCSS
$custom: #155123;
$custom-light: #5c825f;
$custom-dark: #000000;
JSON
{
  "hex": "#155123",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 35
  },
  "hsl": {
    "h": 134,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38486,
    "c": 0.09674,
    "h": 147.7
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#155123
secondary
#893976
accent
#46BEE2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #155123

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

Preview Lab → · Contrast checker → · Palette generator →

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