#154227#154227

#154227 is a dark, moderate green. Relative luminance 0.042; OKLCH L 34.0% C 0.069 H 154.0°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#154227
RGBrgb(21, 66, 39)
HSLhsl(144, 52%, 17%)
HSVhsv(144, 68%, 26%)
CMYKcmyk(68.2%, 0%, 40.9%, 74.1%)
CIE-LABlab(24.33, -22.72, 12.00)
CIE-LCHlch(24.33, 25.70, 152.16°)
OKLaboklab(33.98% -0.0616 0.0301)
OKLCHoklch(33.98% 0.069 154)
XYZxyz(2.6235, 4.2021, 2.5919)
Luminance0.0420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154227 #421530
analogous
#1A4215 #154227 #15423E
triadic
#154227 #271542 #422715
tetradic
#154227 #151A42 #421530 #423E15
square
#154227 #151A42 #421530 #423E15
split-complementary
#154227 #3E1542 #42151A
monochromatic
#07170E #07170E #154227 #247042 #339F5E

Accessibility & contrast

On white

11.41
#154227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154227
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154227#FFFFFF#000000##FFFFFF
##1542271.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C25
Deuteranopia (green-blind)
#3C3829
Tritanopia (blue-blind)
#05413B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #154227;
/* rgb */ color: rgb(21, 66, 39);
/* oklch */ color: oklch(34.0% 0.069 154.0);
Tailwind
colors: {
  custom: {
    50: '#587761',
    500: '#154227',
    950: '#000000',
  },
}
SCSS
$custom: #154227;
$custom-light: #587761;
$custom-dark: #000000;
JSON
{
  "hex": "#154227",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 39
  },
  "hsl": {
    "h": 144,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.33983,
    "c": 0.06856,
    "h": 154
  },
  "luminance": 0.04202
}

Semantic roles & 50–950 ramp

primary
#154227
secondary
#7A3960
accent
#4DA2DB
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #154227

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

Preview Lab → · Contrast checker → · Palette generator →

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