#054025#054025

#054025 is a dark, moderate teal. Relative luminance 0.038; OKLCH L 32.8% C 0.075 H 157.1°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#054025
RGBrgb(5, 64, 37)
HSLhsl(153, 86%, 14%)
HSVhsv(153, 92%, 25%)
CMYKcmyk(92.2%, 0%, 42.2%, 74.9%)
CIE-LABlab(23.11, -25.44, 11.57)
CIE-LCHlch(23.11, 27.95, 155.54°)
OKLaboklab(32.85% -0.0687 0.029)
OKLCHoklch(32.85% 0.075 157.1)
XYZxyz(2.2297, 3.8323, 2.3721)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054025 #400520
analogous
#054007 #054025 #053D40
triadic
#054025 #250540 #402505
tetradic
#054025 #070540 #400520 #3D4005
square
#054025 #070540 #400520 #3D4005
split-complementary
#054025 #40053D #400705
monochromatic
#021C10 #021C10 #054025 #097946 #0EB267

Accessibility & contrast

On white

11.89
#054025 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#054025 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054025
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054025#FFFFFF#000000##FFFFFF
##0540251.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A23
Deuteranopia (green-blind)
#393527
Tritanopia (blue-blind)
#003F39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #054025;
/* rgb */ color: rgb(5, 64, 37);
/* oklch */ color: oklch(32.8% 0.075 157.1);
Tailwind
colors: {
  custom: {
    50: '#51755f',
    500: '#054025',
    950: '#000000',
  },
}
SCSS
$custom: #054025;
$custom-light: #51755f;
$custom-dark: #000000;
JSON
{
  "hex": "#054025",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 37
  },
  "hsl": {
    "h": 152.542,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32845,
    "c": 0.07454,
    "h": 157.1
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#054025
secondary
#81204C
accent
#2C8BFC
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#020804
muted
#787B79

Preview Lab

Preview with #054025

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

Preview Lab → · Contrast checker → · Palette generator →

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