#05301A#05301A

#05301A is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.4% C 0.061 H 155.8°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#05301A
RGBrgb(5, 48, 26)
HSLhsl(149, 81%, 10%)
HSVhsv(149, 90%, 19%)
CMYKcmyk(89.6%, 0%, 45.8%, 81.2%)
CIE-LABlab(16.60, -20.78, 10.08)
CIE-LCHlch(16.60, 23.10, 154.14°)
OKLaboklab(27.4% -0.0561 0.0252)
OKLCHoklch(27.4% 0.061 155.8)
XYZxyz(1.3059, 2.2206, 1.3369)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05301A #30051B
analogous
#063005 #05301A #05302F
triadic
#05301A #1A0530 #301A05
tetradic
#05301A #050630 #30051B #302F05
square
#05301A #050630 #30051B #302F05
split-complementary
#05301A #2F0530 #300506
monochromatic
#031C0F #031C0F #05301A #0B6738 #119F56

Accessibility & contrast

On white

14.54
#05301A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#05301A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05301A
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05301A#FFFFFF#000000##FFFFFF
##05301A1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B19
Deuteranopia (green-blind)
#2A281B
Tritanopia (blue-blind)
#002F2A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #05301a;
/* rgb */ color: rgb(5, 48, 26);
/* oklch */ color: oklch(27.4% 0.061 155.8);
Tailwind
colors: {
  custom: {
    50: '#4c6956',
    500: '#05301a',
    950: '#000000',
  },
}
SCSS
$custom: #05301a;
$custom-light: #4c6956;
$custom-dark: #000000;
JSON
{
  "hex": "#05301a",
  "rgb": {
    "r": 5,
    "g": 48,
    "b": 26
  },
  "hsl": {
    "h": 149.302,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27397,
    "c": 0.06149,
    "h": 155.8
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#05301A
secondary
#721F49
accent
#3096F8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #05301A

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

Preview Lab → · Contrast checker → · Palette generator →

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