#052802#052802

#052802 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.2% C 0.076 H 141.4°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#052802
RGBrgb(5, 40, 2)
HSLhsl(115, 90%, 8%)
HSVhsv(115, 95%, 16%)
CMYKcmyk(87.5%, 0%, 95%, 84.3%)
CIE-LABlab(12.95, -21.72, 17.84)
CIE-LCHlch(12.95, 28.10, 140.60°)
OKLaboklab(24.25% -0.0593 0.0474)
OKLCHoklch(24.25% 0.076 141.4)
XYZxyz(0.8323, 1.5541, 0.3135)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052802 #250228
analogous
#182802 #052802 #022812
triadic
#052802 #020528 #280205
tetradic
#052802 #021828 #250228 #281202
square
#052802 #021828 #250228 #281202
split-complementary
#052802 #120228 #280218
monochromatic
#041D01 #041D01 #052802 #0C6205 #149D08

Accessibility & contrast

On white

16.02
#052802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052802
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052802#FFFFFF#000000##FFFFFF
##0528021.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#252005
Tritanopia (blue-blind)
#012621
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #052802;
/* rgb */ color: rgb(5, 40, 2);
/* oklch */ color: oklch(24.2% 0.076 141.4);
Tailwind
colors: {
  custom: {
    50: '#4a6247',
    500: '#052802',
    950: '#000000',
  },
}
SCSS
$custom: #052802;
$custom-light: #4a6247;
$custom-dark: #000000;
JSON
{
  "hex": "#052802",
  "rgb": {
    "r": 5,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 115.263,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.24246,
    "c": 0.0759,
    "h": 141.4
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#052802
secondary
#67196D
accent
#29FFEE
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #052802

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

Preview Lab → · Contrast checker → · Palette generator →

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