#054727#054727

#054727 is a dark, moderate teal. Relative luminance 0.047; OKLCH L 35.1% C 0.083 H 155.3°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#054727
RGBrgb(5, 71, 39)
HSLhsl(151, 87%, 15%)
HSVhsv(151, 93%, 28%)
CMYKcmyk(93%, 0%, 45.1%, 72.2%)
CIE-LABlab(25.82, -28.03, 13.91)
CIE-LCHlch(25.82, 31.29, 153.61°)
OKLaboklab(35.1% -0.0754 0.0346)
OKLCHoklch(35.1% 0.083 155.3)
XYZxyz(2.6818, 4.6849, 2.6820)
Luminance0.0469 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054727 #470525
analogous
#054706 #054727 #054647
triadic
#054727 #270547 #472705
tetradic
#054727 #060547 #470525 #464705
square
#054727 #060547 #470525 #464705
split-complementary
#054727 #470546 #470605
monochromatic
#021D10 #021D10 #054727 #098046 #0DB966

Accessibility & contrast

On white

10.84
#054727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#054727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054727
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054727#FFFFFF#000000##FFFFFF
##0547271.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474025
Deuteranopia (green-blind)
#3F3B29
Tritanopia (blue-blind)
#00463F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #054727;
/* rgb */ color: rgb(5, 71, 39);
/* oklch */ color: oklch(35.1% 0.083 155.3);
Tailwind
colors: {
  custom: {
    50: '#547b61',
    500: '#054727',
    950: '#000000',
  },
}
SCSS
$custom: #054727;
$custom-light: #547b61;
$custom-dark: #000000;
JSON
{
  "hex": "#054727",
  "rgb": {
    "r": 5,
    "g": 71,
    "b": 39
  },
  "hsl": {
    "h": 150.909,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35097,
    "c": 0.08299,
    "h": 155.3
  },
  "luminance": 0.04685
}

Semantic roles & 50–950 ramp

primary
#054727
secondary
#872152
accent
#2B91FD
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030905
muted
#787B79

Preview Lab

Preview with #054727

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

Preview Lab → · Contrast checker → · Palette generator →

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