#05300C#05300C

#05300C is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.1% C 0.077 H 145.7°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#05300C
RGBrgb(5, 48, 12)
HSLhsl(130, 81%, 10%)
HSVhsv(130, 90%, 19%)
CMYKcmyk(89.6%, 0%, 75%, 81.2%)
CIE-LABlab(16.37, -23.55, 18.14)
CIE-LCHlch(16.37, 29.73, 142.39°)
OKLaboklab(27.12% -0.0635 0.0434)
OKLCHoklch(27.12% 0.077 145.7)
XYZxyz(1.1858, 2.1726, 0.7046)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05300C #300529
analogous
#143005 #05300C #053021
triadic
#05300C #0C0530 #300C05
tetradic
#05300C #051430 #300529 #302105
square
#05300C #051430 #300529 #302105
split-complementary
#05300C #210530 #300514
monochromatic
#031C07 #031C07 #05300C #0B671A #119F28

Accessibility & contrast

On white

14.64
#05300C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#05300C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05300C
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05300C#FFFFFF#000000##FFFFFF
##05300C1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B08
Deuteranopia (green-blind)
#2C270F
Tritanopia (blue-blind)
#002F28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #05300c;
/* rgb */ color: rgb(5, 48, 12);
/* oklch */ color: oklch(27.1% 0.077 145.7);
Tailwind
colors: {
  custom: {
    50: '#4d694c',
    500: '#05300c',
    950: '#000000',
  },
}
SCSS
$custom: #05300c;
$custom-light: #4d694c;
$custom-dark: #000000;
JSON
{
  "hex": "#05300c",
  "rgb": {
    "r": 5,
    "g": 48,
    "b": 12
  },
  "hsl": {
    "h": 129.767,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27124,
    "c": 0.0769,
    "h": 145.7
  },
  "luminance": 0.02173
}

Semantic roles & 50–950 ramp

primary
#05300C
secondary
#721F64
accent
#30D7F8
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #05300C

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

Preview Lab → · Contrast checker → · Palette generator →

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