#05391B#05391B

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

Color values

HEX#05391B
RGBrgb(5, 57, 27)
HSLhsl(145, 84%, 12%)
HSVhsv(145, 91%, 22%)
CMYKcmyk(91.2%, 0%, 52.6%, 77.6%)
CIE-LABlab(20.19, -24.65, 14.12)
CIE-LCHlch(20.19, 28.40, 150.20°)
OKLaboklab(30.37% -0.0662 0.0347)
OKLCHoklch(30.37% 0.075 152.3)
XYZxyz(1.7234, 3.0374, 1.5322)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05391B #390523
analogous
#093905 #05391B #053935
triadic
#05391B #1B0539 #391B05
tetradic
#05391B #050939 #390523 #393505
square
#05391B #050939 #390523 #393505
split-complementary
#05391B #350539 #390509
monochromatic
#021C0D #021C0D #05391B #0A7136 #0FAA50

Accessibility & contrast

On white

13.06
#05391B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05391B
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05391B#FFFFFF#000000##FFFFFF
##05391B1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393319
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#003832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #05391b;
/* rgb */ color: rgb(5, 57, 27);
/* oklch */ color: oklch(30.4% 0.075 152.3);
Tailwind
colors: {
  custom: {
    50: '#4f7057',
    500: '#05391b',
    950: '#000000',
  },
}
SCSS
$custom: #05391b;
$custom-light: #4f7057;
$custom-dark: #000000;
JSON
{
  "hex": "#05391b",
  "rgb": {
    "r": 5,
    "g": 57,
    "b": 27
  },
  "hsl": {
    "h": 145.385,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30369,
    "c": 0.07476,
    "h": 152.3
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#05391B
secondary
#7A2054
accent
#2EA4FA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #05391B

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

Preview Lab → · Contrast checker → · Palette generator →

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