#05310E#05310E

#05310E is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.5% C 0.076 H 146.5°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#05310E
RGBrgb(5, 49, 14)
HSLhsl(132, 81%, 11%)
HSVhsv(132, 90%, 19%)
CMYKcmyk(89.8%, 0%, 71.4%, 80.8%)
CIE-LABlab(16.80, -23.66, 17.72)
CIE-LCHlch(16.80, 29.56, 143.18°)
OKLaboklab(27.49% -0.0637 0.0422)
OKLCHoklch(27.49% 0.076 146.5)
XYZxyz(1.2401, 2.2604, 0.7863)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05310E #310528
analogous
#123105 #05310E #053124
triadic
#05310E #0E0531 #310E05
tetradic
#05310E #051231 #310528 #312405
square
#05310E #051231 #310528 #312405
split-complementary
#05310E #240531 #310512
monochromatic
#031C08 #031C08 #05310E #0B691E #10A02E

Accessibility & contrast

On white

14.46
#05310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05310E
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05310E#FFFFFF#000000##FFFFFF
##05310E1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0A
Deuteranopia (green-blind)
#2D2811
Tritanopia (blue-blind)
#003029
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #05310e;
/* rgb */ color: rgb(5, 49, 14);
/* oklch */ color: oklch(27.5% 0.076 146.5);
Tailwind
colors: {
  custom: {
    50: '#4d6a4e',
    500: '#05310e',
    950: '#000000',
  },
}
SCSS
$custom: #05310e;
$custom-light: #4d6a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#05310e",
  "rgb": {
    "r": 5,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 132.273,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27489,
    "c": 0.07644,
    "h": 146.5
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#05310E
secondary
#721F61
accent
#30CFF8
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #05310E

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

Preview Lab → · Contrast checker → · Palette generator →

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