#05391C#05391C

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

Color values

HEX#05391C
RGBrgb(5, 57, 28)
HSLhsl(147, 84%, 12%)
HSVhsv(147, 91%, 22%)
CMYKcmyk(91.2%, 0%, 50.9%, 77.6%)
CIE-LABlab(20.21, -24.43, 13.51)
CIE-LCHlch(20.21, 27.91, 151.06°)
OKLaboklab(30.39% -0.0657 0.0333)
OKLCHoklch(30.39% 0.074 153.1)
XYZxyz(1.7352, 3.0421, 1.5941)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05391C #390522
analogous
#083905 #05391C #053936
triadic
#05391C #1C0539 #391C05
tetradic
#05391C #050839 #390522 #393605
square
#05391C #050839 #390522 #393605
split-complementary
#05391C #360539 #390508
monochromatic
#021C0E #021C0E #05391C #0A7138 #0FAA53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##05391C#FFFFFF#000000##FFFFFF
##05391C1.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)
#39331A
Deuteranopia (green-blind)
#332F1E
Tritanopia (blue-blind)
#003832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #05391c;
/* rgb */ color: rgb(5, 57, 28);
/* oklch */ color: oklch(30.4% 0.074 153.1);
Tailwind
colors: {
  custom: {
    50: '#4f7058',
    500: '#05391c',
    950: '#000000',
  },
}
SCSS
$custom: #05391c;
$custom-light: #4f7058;
$custom-dark: #000000;
JSON
{
  "hex": "#05391c",
  "rgb": {
    "r": 5,
    "g": 57,
    "b": 28
  },
  "hsl": {
    "h": 146.538,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.3039,
    "c": 0.07364,
    "h": 153.1
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#05391C
secondary
#7A2052
accent
#2EA0FA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #05391C

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

Preview Lab → · Contrast checker → · Palette generator →

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