#154222#154222

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

Color values

HEX#154222
RGBrgb(21, 66, 34)
HSLhsl(137, 52%, 17%)
HSVhsv(137, 68%, 26%)
CMYKcmyk(68.2%, 0%, 48.5%, 74.1%)
CIE-LABlab(24.23, -23.80, 15.02)
CIE-LCHlch(24.23, 28.14, 147.74°)
OKLaboklab(33.87% -0.0643 0.0371)
OKLCHoklch(33.87% 0.074 150.1)
XYZxyz(2.5460, 4.1711, 2.1840)
Luminance0.0417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154222 #421535
analogous
#1F4215 #154222 #154239
triadic
#154222 #221542 #422215
tetradic
#154222 #151F42 #421535 #423915
square
#154222 #151F42 #421535 #423915
split-complementary
#154222 #391542 #42151F
monochromatic
#07170C #07170C #154222 #24703A #339F52

Accessibility & contrast

On white

11.45
#154222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#154222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154222
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154222#FFFFFF#000000##FFFFFF
##1542221.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C20
Deuteranopia (green-blind)
#3D3824
Tritanopia (blue-blind)
#08413A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #154222;
/* rgb */ color: rgb(21, 66, 34);
/* oklch */ color: oklch(33.9% 0.074 150.1);
Tailwind
colors: {
  custom: {
    50: '#58775d',
    500: '#154222',
    950: '#000000',
  },
}
SCSS
$custom: #154222;
$custom-light: #58775d;
$custom-dark: #000000;
JSON
{
  "hex": "#154222",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 34
  },
  "hsl": {
    "h": 137.333,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.33868,
    "c": 0.07424,
    "h": 150.1
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#154222
secondary
#7A3967
accent
#4DB2DB
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #154222

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

Preview Lab → · Contrast checker → · Palette generator →

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