#154223#154223

#154223 is a dark, moderate green. Relative luminance 0.042; OKLCH L 33.9% C 0.073 H 150.8°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#154223
RGBrgb(21, 66, 35)
HSLhsl(139, 52%, 17%)
HSVhsv(139, 68%, 26%)
CMYKcmyk(68.2%, 0%, 47%, 74.1%)
CIE-LABlab(24.25, -23.59, 14.42)
CIE-LCHlch(24.25, 27.65, 148.57°)
OKLaboklab(33.89% -0.0638 0.0357)
OKLCHoklch(33.89% 0.073 150.8)
XYZxyz(2.5607, 4.1770, 2.2611)
Luminance0.0418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154223 #421534
analogous
#1E4215 #154223 #15423A
triadic
#154223 #231542 #422315
tetradic
#154223 #151E42 #421534 #423A15
square
#154223 #151E42 #421534 #423A15
split-complementary
#154223 #3A1542 #42151E
monochromatic
#07170C #07170C #154223 #24703C #339F54

Accessibility & contrast

On white

11.44
#154223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#154223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154223
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154223#FFFFFF#000000##FFFFFF
##1542231.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C21
Deuteranopia (green-blind)
#3C3825
Tritanopia (blue-blind)
#07413A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #154223;
/* rgb */ color: rgb(21, 66, 35);
/* oklch */ color: oklch(33.9% 0.073 150.8);
Tailwind
colors: {
  custom: {
    50: '#58775e',
    500: '#154223',
    950: '#000000',
  },
}
SCSS
$custom: #154223;
$custom-light: #58775e;
$custom-dark: #000000;
JSON
{
  "hex": "#154223",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 35
  },
  "hsl": {
    "h": 138.667,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3389,
    "c": 0.0731,
    "h": 150.8
  },
  "luminance": 0.04177
}

Semantic roles & 50–950 ramp

primary
#154223
secondary
#7A3966
accent
#4DAFDB
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #154223

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

Preview Lab → · Contrast checker → · Palette generator →

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