#05310A#05310A

#05310A is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.4% C 0.080 H 144.7°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#05310A
RGBrgb(5, 49, 10)
HSLhsl(127, 81%, 11%)
HSVhsv(127, 90%, 19%)
CMYKcmyk(89.8%, 0%, 79.6%, 80.8%)
CIE-LABlab(16.75, -24.24, 19.48)
CIE-LCHlch(16.75, 31.10, 141.22°)
OKLaboklab(27.44% -0.0655 0.0464)
OKLCHoklch(27.44% 0.08 144.7)
XYZxyz(1.2156, 2.2507, 0.6575)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05310A #31052C
analogous
#163105 #05310A #053120
triadic
#05310A #0A0531 #310A05
tetradic
#05310A #051631 #31052C #312005
square
#05310A #051631 #31052C #312005
split-complementary
#05310A #200531 #310516
monochromatic
#031C06 #031C06 #05310A #0B6915 #10A021

Accessibility & contrast

On white

14.48
#05310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#05310A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05310A
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05310A#FFFFFF#000000##FFFFFF
##05310A1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B06
Deuteranopia (green-blind)
#2D280E
Tritanopia (blue-blind)
#002F29
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #05310a;
/* rgb */ color: rgb(5, 49, 10);
/* oklch */ color: oklch(27.4% 0.080 144.7);
Tailwind
colors: {
  custom: {
    50: '#4d6a4c',
    500: '#05310a',
    950: '#000000',
  },
}
SCSS
$custom: #05310a;
$custom-light: #4d6a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#05310a",
  "rgb": {
    "r": 5,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 126.818,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27435,
    "c": 0.08021,
    "h": 144.7
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#05310A
secondary
#721F69
accent
#30E1F8
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #05310A

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

Preview Lab → · Contrast checker → · Palette generator →

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