#05391D#05391D

#05391D is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.4% C 0.073 H 153.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#05391D
RGBrgb(5, 57, 29)
HSLhsl(148, 84%, 12%)
HSVhsv(148, 91%, 22%)
CMYKcmyk(91.2%, 0%, 49.1%, 77.6%)
CIE-LABlab(20.23, -24.21, 12.89)
CIE-LCHlch(20.23, 27.43, 151.96°)
OKLaboklab(30.41% -0.0651 0.0319)
OKLCHoklch(30.41% 0.073 153.9)
XYZxyz(1.7473, 3.0470, 1.6582)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05391D #390521
analogous
#073905 #05391D #053937
triadic
#05391D #1D0539 #391D05
tetradic
#05391D #050739 #390521 #393705
square
#05391D #050739 #390521 #393705
split-complementary
#05391D #370539 #390507
monochromatic
#021C0E #021C0E #05391D #0A713A #0FAA56

Accessibility & contrast

On white

13.05
#05391D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#05391D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05391D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05391D#FFFFFF#000000##FFFFFF
##05391D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39331B
Deuteranopia (green-blind)
#332F1F
Tritanopia (blue-blind)
#003832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #05391d;
/* rgb */ color: rgb(5, 57, 29);
/* oklch */ color: oklch(30.4% 0.073 153.9);
Tailwind
colors: {
  custom: {
    50: '#4f7059',
    500: '#05391d',
    950: '#000000',
  },
}
SCSS
$custom: #05391d;
$custom-light: #4f7059;
$custom-dark: #000000;
JSON
{
  "hex": "#05391d",
  "rgb": {
    "r": 5,
    "g": 57,
    "b": 29
  },
  "hsl": {
    "h": 147.692,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30413,
    "c": 0.07251,
    "h": 153.9
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#05391D
secondary
#7A2050
accent
#2E9CFA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #05391D

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

Preview Lab → · Contrast checker → · Palette generator →

#05391D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva