#054226#054226

#054226 is a dark, moderate teal. Relative luminance 0.041; OKLCH L 33.5% C 0.077 H 156.9°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#054226
RGBrgb(5, 66, 38)
HSLhsl(152, 86%, 14%)
HSVhsv(152, 92%, 26%)
CMYKcmyk(92.4%, 0%, 42.4%, 74.1%)
CIE-LABlab(23.90, -26.09, 11.99)
CIE-LCHlch(23.90, 28.71, 155.33°)
OKLaboklab(33.5% -0.0704 0.03)
OKLCHoklch(33.5% 0.077 156.9)
XYZxyz(2.3604, 4.0683, 2.4942)
Luminance0.0407 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054226 #420521
analogous
#054208 #054226 #054042
triadic
#054226 #260542 #422605
tetradic
#054226 #080542 #420521 #404205
square
#054226 #080542 #420521 #404205
split-complementary
#054226 #420540 #420805
monochromatic
#021C10 #021C10 #054226 #097B47 #0EB468

Accessibility & contrast

On white

11.58
#054226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#054226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054226
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054226#FFFFFF#000000##FFFFFF
##0542261.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C24
Deuteranopia (green-blind)
#3B3728
Tritanopia (blue-blind)
#00413B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #054226;
/* rgb */ color: rgb(5, 66, 38);
/* oklch */ color: oklch(33.5% 0.077 156.9);
Tailwind
colors: {
  custom: {
    50: '#527760',
    500: '#054226',
    950: '#000000',
  },
}
SCSS
$custom: #054226;
$custom-light: #527760;
$custom-dark: #000000;
JSON
{
  "hex": "#054226",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 38
  },
  "hsl": {
    "h": 152.459,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33502,
    "c": 0.07651,
    "h": 156.9
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#054226
secondary
#82204D
accent
#2C8BFC
background
#F4F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030905
muted
#787B79

Preview Lab

Preview with #054226

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

Preview Lab → · Contrast checker → · Palette generator →

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