#052806#052806

#052806 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.3% C 0.071 H 143.5°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#052806
RGBrgb(5, 40, 6)
HSLhsl(122, 78%, 9%)
HSVhsv(122, 88%, 16%)
CMYKcmyk(87.5%, 0%, 85%, 84.3%)
CIE-LABlab(13.00, -21.06, 16.28)
CIE-LCHlch(13.00, 26.62, 142.28°)
OKLaboklab(24.31% -0.0571 0.0423)
OKLCHoklch(24.31% 0.071 143.5)
XYZxyz(0.8542, 1.5629, 0.4289)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052806 #280527
analogous
#162805 #052806 #052818
triadic
#052806 #060528 #280605
tetradic
#052806 #051628 #280527 #281805
square
#052806 #051628 #280527 #281805
split-complementary
#052806 #180528 #280516
monochromatic
#031B04 #031B04 #052806 #0C5E0E #139516

Accessibility & contrast

On white

16.00
#052806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#052806 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052806
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052806#FFFFFF#000000##FFFFFF
##0528061.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292303
Deuteranopia (green-blind)
#252009
Tritanopia (blue-blind)
#002721
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #052806;
/* rgb */ color: rgb(5, 40, 6);
/* oklch */ color: oklch(24.3% 0.071 143.5);
Tailwind
colors: {
  custom: {
    50: '#4a6249',
    500: '#052806',
    950: '#000000',
  },
}
SCSS
$custom: #052806;
$custom-light: #4a6249;
$custom-dark: #000000;
JSON
{
  "hex": "#052806",
  "rgb": {
    "r": 5,
    "g": 40,
    "b": 6
  },
  "hsl": {
    "h": 121.714,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24308,
    "c": 0.07102,
    "h": 143.5
  },
  "luminance": 0.01563
}

Semantic roles & 50–950 ramp

primary
#052806
secondary
#6A1F68
accent
#34EFF4
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #052806

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

Preview Lab → · Contrast checker → · Palette generator →

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