#05341C#05341C

#05341C is a dark, moderate green. Relative luminance 0.026; OKLCH L 28.8% C 0.066 H 155.5°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#05341C
RGBrgb(5, 52, 28)
HSLhsl(149, 82%, 11%)
HSVhsv(149, 90%, 20%)
CMYKcmyk(90.4%, 0%, 46.2%, 79.6%)
CIE-LABlab(18.24, -22.17, 10.92)
CIE-LCHlch(18.24, 24.72, 153.77°)
OKLaboklab(28.76% -0.0598 0.0273)
OKLCHoklch(28.76% 0.066 155.5)
XYZxyz(1.5000, 2.5719, 1.5158)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05341C #34051D
analogous
#053405 #05341C #053433
triadic
#05341C #1C0534 #341C05
tetradic
#05341C #050534 #34051D #343305
square
#05341C #050534 #34051D #343305
split-complementary
#05341C #330534 #340505
monochromatic
#031C0F #031C0F #05341C #0A6C3A #10A458

Accessibility & contrast

On white

13.87
#05341C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#05341C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05341C
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05341C#FFFFFF#000000##FFFFFF
##05341C1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1A
Deuteranopia (green-blind)
#2E2B1E
Tritanopia (blue-blind)
#00332E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #05341c;
/* rgb */ color: rgb(5, 52, 28);
/* oklch */ color: oklch(28.8% 0.066 155.5);
Tailwind
colors: {
  custom: {
    50: '#4e6c58',
    500: '#05341c',
    950: '#000000',
  },
}
SCSS
$custom: #05341c;
$custom-light: #4e6c58;
$custom-dark: #000000;
JSON
{
  "hex": "#05341c",
  "rgb": {
    "r": 5,
    "g": 52,
    "b": 28
  },
  "hsl": {
    "h": 149.362,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28761,
    "c": 0.06571,
    "h": 155.5
  },
  "luminance": 0.02572
}

Semantic roles & 50–950 ramp

primary
#05341C
secondary
#751F4B
accent
#2F96F9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #05341C

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

Preview Lab → · Contrast checker → · Palette generator →

#05341C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva