#154226#154226

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

Color values

HEX#154226
RGBrgb(21, 66, 38)
HSLhsl(143, 52%, 17%)
HSVhsv(143, 68%, 26%)
CMYKcmyk(68.2%, 0%, 42.4%, 74.1%)
CIE-LABlab(24.31, -22.95, 12.61)
CIE-LCHlch(24.31, 26.18, 151.22°)
OKLaboklab(33.96% -0.0622 0.0315)
OKLCHoklch(33.96% 0.07 153.1)
XYZxyz(2.6071, 4.1955, 2.5058)
Luminance0.0420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154226 #421531
analogous
#1B4215 #154226 #15423D
triadic
#154226 #261542 #422615
tetradic
#154226 #151B42 #421531 #423D15
square
#154226 #151B42 #421531 #423D15
split-complementary
#154226 #3D1542 #42151B
monochromatic
#07170D #07170D #154226 #247041 #339F5B

Accessibility & contrast

On white

11.42
#154226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154226
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154226#FFFFFF#000000##FFFFFF
##1542261.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C24
Deuteranopia (green-blind)
#3C3828
Tritanopia (blue-blind)
#06413B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #154226;
/* rgb */ color: rgb(21, 66, 38);
/* oklch */ color: oklch(34.0% 0.070 153.1);
Tailwind
colors: {
  custom: {
    50: '#587760',
    500: '#154226',
    950: '#000000',
  },
}
SCSS
$custom: #154226;
$custom-light: #587760;
$custom-dark: #000000;
JSON
{
  "hex": "#154226",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 38
  },
  "hsl": {
    "h": 142.667,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.33958,
    "c": 0.06969,
    "h": 153.1
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

primary
#154226
secondary
#7A3961
accent
#4DA5DB
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #154226

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

Preview Lab → · Contrast checker → · Palette generator →

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