#05391E#05391E

#05391E is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.4% C 0.071 H 154.7°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#05391E
RGBrgb(5, 57, 30)
HSLhsl(149, 84%, 12%)
HSVhsv(149, 91%, 22%)
CMYKcmyk(91.2%, 0%, 47.4%, 77.6%)
CIE-LABlab(20.25, -23.98, 12.28)
CIE-LCHlch(20.25, 26.94, 152.89°)
OKLaboklab(30.44% -0.0645 0.0305)
OKLCHoklch(30.44% 0.071 154.7)
XYZxyz(1.7599, 3.0520, 1.7244)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05391E #390520
analogous
#063905 #05391E #053938
triadic
#05391E #1E0539 #391E05
tetradic
#05391E #050639 #390520 #393805
square
#05391E #050639 #390520 #393805
split-complementary
#05391E #380539 #390506
monochromatic
#021C0F #021C0F #05391E #0A713C #0FAA59

Accessibility & contrast

On white

13.04
#05391E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05391E
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05391E#FFFFFF#000000##FFFFFF
##05391E1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05391e;
/* rgb */ color: rgb(5, 57, 30);
/* oklch */ color: oklch(30.4% 0.071 154.7);
Tailwind
colors: {
  custom: {
    50: '#4f705a',
    500: '#05391e',
    950: '#000000',
  },
}
SCSS
$custom: #05391e;
$custom-light: #4f705a;
$custom-dark: #000000;
JSON
{
  "hex": "#05391e",
  "rgb": {
    "r": 5,
    "g": 57,
    "b": 30
  },
  "hsl": {
    "h": 148.846,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30436,
    "c": 0.07139,
    "h": 154.7
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#05391E
secondary
#7A204F
accent
#2E98FA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #05391E

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

Preview Lab → · Contrast checker → · Palette generator →

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