#154228#154228

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

Color values

HEX#154228
RGBrgb(21, 66, 40)
HSLhsl(145, 52%, 17%)
HSVhsv(145, 68%, 26%)
CMYKcmyk(68.2%, 0%, 39.4%, 74.1%)
CIE-LABlab(24.35, -22.49, 11.39)
CIE-LCHlch(24.35, 25.21, 153.15°)
OKLaboklab(34.01% -0.061 0.0286)
OKLCHoklch(34.01% 0.067 154.9)
XYZxyz(2.6403, 4.2088, 2.6803)
Luminance0.0421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154228 #42152F
analogous
#194215 #154228 #15423F
triadic
#154228 #281542 #422815
tetradic
#154228 #151942 #42152F #423F15
square
#154228 #151942 #42152F #423F15
split-complementary
#154228 #3F1542 #421519
monochromatic
#07170E #07170E #154228 #247044 #339F60

Accessibility & contrast

On white

11.40
#154228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154228
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154228#FFFFFF#000000##FFFFFF
##1542281.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #154228;
/* rgb */ color: rgb(21, 66, 40);
/* oklch */ color: oklch(34.0% 0.067 154.9);
Tailwind
colors: {
  custom: {
    50: '#587762',
    500: '#154228',
    950: '#000000',
  },
}
SCSS
$custom: #154228;
$custom-light: #587762;
$custom-dark: #000000;
JSON
{
  "hex": "#154228",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 145.333,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34007,
    "c": 0.06743,
    "h": 154.9
  },
  "luminance": 0.04209
}

Semantic roles & 50–950 ramp

primary
#154228
secondary
#7A395E
accent
#4D9FDB
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #154228

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

Preview Lab → · Contrast checker → · Palette generator →

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