#05391A#05391A

#05391A is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.3% C 0.076 H 151.6°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#05391A
RGBrgb(5, 57, 26)
HSLhsl(144, 84%, 12%)
HSVhsv(144, 91%, 22%)
CMYKcmyk(91.2%, 0%, 54.4%, 77.6%)
CIE-LABlab(20.18, -24.86, 14.72)
CIE-LCHlch(20.18, 28.89, 149.36°)
OKLaboklab(30.35% -0.0667 0.0361)
OKLCHoklch(30.35% 0.076 151.6)
XYZxyz(1.7120, 3.0329, 1.4723)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05391A #390524
analogous
#0A3905 #05391A #053934
triadic
#05391A #1A0539 #391A05
tetradic
#05391A #050A39 #390524 #393405
square
#05391A #050A39 #390524 #393405
split-complementary
#05391A #340539 #39050A
monochromatic
#021C0D #021C0D #05391A #0A7134 #0FAA4D

Accessibility & contrast

On white

13.07
#05391A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05391A
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05391A#FFFFFF#000000##FFFFFF
##05391A1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05391a;
/* rgb */ color: rgb(5, 57, 26);
/* oklch */ color: oklch(30.3% 0.076 151.6);
Tailwind
colors: {
  custom: {
    50: '#4f7057',
    500: '#05391a',
    950: '#000000',
  },
}
SCSS
$custom: #05391a;
$custom-light: #4f7057;
$custom-dark: #000000;
JSON
{
  "hex": "#05391a",
  "rgb": {
    "r": 5,
    "g": 57,
    "b": 26
  },
  "hsl": {
    "h": 144.231,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30348,
    "c": 0.07587,
    "h": 151.6
  },
  "luminance": 0.03033
}

Semantic roles & 50–950 ramp

primary
#05391A
secondary
#7A2056
accent
#2EA8FA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #05391A

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

Preview Lab → · Contrast checker → · Palette generator →

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