#05390C#05390C

#05390C is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.1% C 0.090 H 144.7°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#05390C
RGBrgb(5, 57, 12)
HSLhsl(128, 84%, 12%)
HSVhsv(128, 91%, 22%)
CMYKcmyk(91.2%, 0%, 78.9%, 77.6%)
CIE-LABlab(19.98, -27.17, 22.44)
CIE-LCHlch(19.98, 35.24, 140.45°)
OKLaboklab(30.13% -0.0733 0.0518)
OKLCHoklch(30.13% 0.09 144.7)
XYZxyz(1.5920, 2.9849, 0.8400)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05390C #390532
analogous
#183905 #05390C #053926
triadic
#05390C #0C0539 #390C05
tetradic
#05390C #051839 #390532 #392605
square
#05390C #051839 #390532 #392605
split-complementary
#05390C #260539 #390518
monochromatic
#021C06 #021C06 #05390C #0A7118 #0FAA24

Accessibility & contrast

On white

13.15
#05390C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#05390C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05390C
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05390C#FFFFFF#000000##FFFFFF
##05390C1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3306
Deuteranopia (green-blind)
#342F10
Tritanopia (blue-blind)
#003730
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #05390c;
/* rgb */ color: rgb(5, 57, 12);
/* oklch */ color: oklch(30.1% 0.090 144.7);
Tailwind
colors: {
  custom: {
    50: '#50704d',
    500: '#05390c',
    950: '#000000',
  },
}
SCSS
$custom: #05390c;
$custom-light: #50704d;
$custom-dark: #000000;
JSON
{
  "hex": "#05390c",
  "rgb": {
    "r": 5,
    "g": 57,
    "b": 12
  },
  "hsl": {
    "h": 128.077,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30127,
    "c": 0.0898,
    "h": 144.7
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#05390C
secondary
#7A206E
accent
#2EDFFA
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020701
muted
#787A77

Preview Lab

Preview with #05390C

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

Preview Lab → · Contrast checker → · Palette generator →

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