#052811#052811

#052811 is a very dark, muted green. Relative luminance 0.016; OKLCH L 24.5% C 0.059 H 151.0°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#052811
RGBrgb(5, 40, 17)
HSLhsl(141, 78%, 9%)
HSVhsv(141, 88%, 16%)
CMYKcmyk(87.5%, 0%, 57.5%, 84.3%)
CIE-LABlab(13.17, -19.08, 11.43)
CIE-LCHlch(13.17, 22.24, 149.08°)
OKLaboklab(24.5% -0.0514 0.0285)
OKLCHoklch(24.5% 0.059 151)
XYZxyz(0.9225, 1.5902, 0.7885)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052811 #28051C
analogous
#0B2805 #052811 #052823
triadic
#052811 #110528 #281105
tetradic
#052811 #050B28 #28051C #282305
square
#052811 #050B28 #28051C #282305
split-complementary
#052811 #230528 #28050B
monochromatic
#031B0C #031B0C #052811 #0C5E28 #13953F

Accessibility & contrast

On white

15.93
#052811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#052811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052811
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052811#FFFFFF#000000##FFFFFF
##0528111.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28240F
Deuteranopia (green-blind)
#242113
Tritanopia (blue-blind)
#002722
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #052811;
/* rgb */ color: rgb(5, 40, 17);
/* oklch */ color: oklch(24.5% 0.059 151.0);
Tailwind
colors: {
  custom: {
    50: '#4a624f',
    500: '#052811',
    950: '#000000',
  },
}
SCSS
$custom: #052811;
$custom-light: #4a624f;
$custom-dark: #000000;
JSON
{
  "hex": "#052811",
  "rgb": {
    "r": 5,
    "g": 40,
    "b": 17
  },
  "hsl": {
    "h": 140.571,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24501,
    "c": 0.05872,
    "h": 151
  },
  "luminance": 0.0159
}

Semantic roles & 50–950 ramp

primary
#052811
secondary
#6A1F50
accent
#34B2F4
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010502
muted
#777978

Preview Lab

Preview with #052811

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

Preview Lab → · Contrast checker → · Palette generator →

#052811 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva