#05331A#05331A

#05331A is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.4% C 0.066 H 154.1°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#05331A
RGBrgb(5, 51, 26)
HSLhsl(147, 82%, 11%)
HSVhsv(147, 90%, 20%)
CMYKcmyk(90.2%, 0%, 49%, 80%)
CIE-LABlab(17.80, -22.19, 11.66)
CIE-LCHlch(17.80, 25.06, 152.28°)
OKLaboklab(28.39% -0.0597 0.029)
OKLCHoklch(28.39% 0.066 154.1)
XYZxyz(1.4327, 2.4743, 1.3792)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05331A #33051E
analogous
#073305 #05331A #053331
triadic
#05331A #1A0533 #331A05
tetradic
#05331A #050733 #33051E #333105
square
#05331A #050733 #33051E #333105
split-complementary
#05331A #310533 #330507
monochromatic
#031C0E #031C0E #05331A #0A6B36 #10A253

Accessibility & contrast

On white

14.05
#05331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#05331A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05331A
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05331A#FFFFFF#000000##FFFFFF
##05331A1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E18
Deuteranopia (green-blind)
#2D2A1C
Tritanopia (blue-blind)
#00322D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #05331a;
/* rgb */ color: rgb(5, 51, 26);
/* oklch */ color: oklch(28.4% 0.066 154.1);
Tailwind
colors: {
  custom: {
    50: '#4d6b56',
    500: '#05331a',
    950: '#000000',
  },
}
SCSS
$custom: #05331a;
$custom-light: #4d6b56;
$custom-dark: #000000;
JSON
{
  "hex": "#05331a",
  "rgb": {
    "r": 5,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 147.391,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28385,
    "c": 0.06638,
    "h": 154.1
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#05331A
secondary
#741F4E
accent
#2F9DF8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #05331A

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

Preview Lab → · Contrast checker → · Palette generator →

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