#05331B#05331B

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

Color values

HEX#05331B
RGBrgb(5, 51, 27)
HSLhsl(149, 82%, 11%)
HSVhsv(149, 90%, 20%)
CMYKcmyk(90.2%, 0%, 47.1%, 80%)
CIE-LABlab(17.82, -21.95, 11.03)
CIE-LCHlch(17.82, 24.56, 153.32°)
OKLaboklab(28.41% -0.0591 0.0275)
OKLCHoklch(28.41% 0.065 155.1)
XYZxyz(1.4441, 2.4789, 1.4391)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05331B #33051D
analogous
#063305 #05331B #053332
triadic
#05331B #1B0533 #331B05
tetradic
#05331B #050633 #33051D #333205
square
#05331B #050633 #33051D #333205
split-complementary
#05331B #320533 #330506
monochromatic
#031C0F #031C0F #05331B #0A6B39 #10A256

Accessibility & contrast

On white

14.04
#05331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#05331B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05331B
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05331B#FFFFFF#000000##FFFFFF
##05331B1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05331b;
/* rgb */ color: rgb(5, 51, 27);
/* oklch */ color: oklch(28.4% 0.065 155.1);
Tailwind
colors: {
  custom: {
    50: '#4d6b57',
    500: '#05331b',
    950: '#000000',
  },
}
SCSS
$custom: #05331b;
$custom-light: #4d6b57;
$custom-dark: #000000;
JSON
{
  "hex": "#05331b",
  "rgb": {
    "r": 5,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 148.696,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28409,
    "c": 0.06523,
    "h": 155.1
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#05331B
secondary
#741F4C
accent
#2F98F8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #05331B

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

Preview Lab → · Contrast checker → · Palette generator →

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