#054225#054225

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

Color values

HEX#054225
RGBrgb(5, 66, 37)
HSLhsl(151, 86%, 14%)
HSVhsv(151, 92%, 26%)
CMYKcmyk(92.4%, 0%, 43.9%, 74.1%)
CIE-LABlab(23.88, -26.33, 12.59)
CIE-LCHlch(23.88, 29.18, 154.44°)
OKLaboklab(33.48% -0.0709 0.0315)
OKLCHoklch(33.48% 0.078 156.1)
XYZxyz(2.3445, 4.0620, 2.4104)
Luminance0.0406 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054225 #420522
analogous
#054206 #054225 #054142
triadic
#054225 #250542 #422505
tetradic
#054225 #060542 #420522 #414205
square
#054225 #060542 #420522 #414205
split-complementary
#054225 #420541 #420605
monochromatic
#021C10 #021C10 #054225 #097B45 #0EB465

Accessibility & contrast

On white

11.59
#054225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054225
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054225#FFFFFF#000000##FFFFFF
##0542251.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C23
Deuteranopia (green-blind)
#3B3727
Tritanopia (blue-blind)
#00413B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #054225;
/* rgb */ color: rgb(5, 66, 37);
/* oklch */ color: oklch(33.5% 0.078 156.1);
Tailwind
colors: {
  custom: {
    50: '#52775f',
    500: '#054225',
    950: '#000000',
  },
}
SCSS
$custom: #054225;
$custom-light: #52775f;
$custom-dark: #000000;
JSON
{
  "hex": "#054225",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 37
  },
  "hsl": {
    "h": 151.475,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33478,
    "c": 0.07759,
    "h": 156.1
  },
  "luminance": 0.04062
}

Semantic roles & 50–950 ramp

primary
#054225
secondary
#82204F
accent
#2C8FFC
background
#F4F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #054225

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

Preview Lab → · Contrast checker → · Palette generator →

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