#05471B#05471B

#05471B is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.9% C 0.096 H 148.6°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#05471B
RGBrgb(5, 71, 27)
HSLhsl(140, 87%, 15%)
HSVhsv(140, 93%, 28%)
CMYKcmyk(93%, 0%, 62%, 72.2%)
CIE-LABlab(25.62, -30.42, 20.85)
CIE-LCHlch(25.62, 36.88, 145.58°)
OKLaboklab(34.86% -0.0816 0.0498)
OKLCHoklch(34.86% 0.096 148.6)
XYZxyz(2.5134, 4.6176, 1.7955)
Luminance0.0462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05471B #470531
analogous
#104705 #05471B #05473C
triadic
#05471B #1B0547 #471B05
tetradic
#05471B #051047 #470531 #473C05
square
#05471B #051047 #470531 #473C05
split-complementary
#05471B #3C0547 #470510
monochromatic
#021D0B #021D0B #05471B #098031 #0DB946

Accessibility & contrast

On white

10.92
#05471B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#05471B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05471B
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05471B#FFFFFF#000000##FFFFFF
##05471B1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484017
Deuteranopia (green-blind)
#413B1E
Tritanopia (blue-blind)
#00453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #05471b;
/* rgb */ color: rgb(5, 71, 27);
/* oklch */ color: oklch(34.9% 0.096 148.6);
Tailwind
colors: {
  custom: {
    50: '#547b58',
    500: '#05471b',
    950: '#000000',
  },
}
SCSS
$custom: #05471b;
$custom-light: #547b58;
$custom-dark: #000000;
JSON
{
  "hex": "#05471b",
  "rgb": {
    "r": 5,
    "g": 71,
    "b": 27
  },
  "hsl": {
    "h": 140,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34864,
    "c": 0.09562,
    "h": 148.6
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#05471B
secondary
#872165
accent
#2BB7FD
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #05471B

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

Preview Lab → · Contrast checker → · Palette generator →

#05471B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva