#05370C#05370C

#05370C is a dark, moderate green. Relative luminance 0.028; OKLCH L 29.5% C 0.087 H 144.9°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#05370C
RGBrgb(5, 55, 12)
HSLhsl(128, 83%, 12%)
HSVhsv(128, 91%, 22%)
CMYKcmyk(90.9%, 0%, 78.2%, 78.4%)
CIE-LABlab(19.19, -26.39, 21.53)
CIE-LCHlch(19.19, 34.06, 140.79°)
OKLaboklab(29.47% -0.0712 0.05)
OKLCHoklch(29.47% 0.087 144.9)
XYZxyz(1.4950, 2.7910, 0.8077)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05370C #370530
analogous
#173705 #05370C #053725
triadic
#05370C #0C0537 #370C05
tetradic
#05370C #051737 #370530 #372505
square
#05370C #051737 #370530 #372505
split-complementary
#05370C #250537 #370517
monochromatic
#031C06 #031C06 #05370C #0A6F18 #0FA724

Accessibility & contrast

On white

13.48
#05370C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#05370C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05370C
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05370C#FFFFFF#000000##FFFFFF
##05370C1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383107
Deuteranopia (green-blind)
#332D10
Tritanopia (blue-blind)
#00352E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #05370c;
/* rgb */ color: rgb(5, 55, 12);
/* oklch */ color: oklch(29.5% 0.087 144.9);
Tailwind
colors: {
  custom: {
    50: '#4f6e4d',
    500: '#05370c',
    950: '#000000',
  },
}
SCSS
$custom: #05370c;
$custom-light: #4f6e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#05370c",
  "rgb": {
    "r": 5,
    "g": 55,
    "b": 12
  },
  "hsl": {
    "h": 128.4,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29465,
    "c": 0.08701,
    "h": 144.9
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#05370C
secondary
#78206C
accent
#2EDDFA
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020701
muted
#787A77

Preview Lab

Preview with #05370C

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

Preview Lab → · Contrast checker → · Palette generator →

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