#052002#052002

#052002 is a very dark, moderate green. Relative luminance 0.011; OKLCH L 21.4% C 0.065 H 140.8°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#052002
RGBrgb(5, 32, 2)
HSLhsl(114, 88%, 7%)
HSVhsv(114, 94%, 13%)
CMYKcmyk(84.4%, 0%, 93.8%, 87.5%)
CIE-LABlab(9.56, -17.03, 13.15)
CIE-LCHlch(9.56, 21.52, 142.33°)
OKLaboklab(21.43% -0.05 0.0408)
OKLCHoklch(21.43% 0.065 140.8)
XYZxyz(0.5900, 1.0696, 0.2328)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052002 #1D0220
analogous
#142002 #052002 #02200E
triadic
#052002 #020520 #200205
tetradic
#052002 #021420 #1D0220 #200E02
square
#052002 #021420 #1D0220 #200E02
split-complementary
#052002 #0E0220 #200214
monochromatic
#051D02 #051D02 #052002 #0E5A06 #179309

Accessibility & contrast

On white

17.30
#052002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#052002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052002
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052002#FFFFFF#000000##FFFFFF
##0520021.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C00
Deuteranopia (green-blind)
#1E1A04
Tritanopia (blue-blind)
#021F1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #052002;
/* rgb */ color: rgb(5, 32, 2);
/* oklch */ color: oklch(21.4% 0.065 140.8);
Tailwind
colors: {
  custom: {
    50: '#485b47',
    500: '#052002',
    950: '#000000',
  },
}
SCSS
$custom: #052002;
$custom-light: #485b47;
$custom-dark: #000000;
JSON
{
  "hex": "#052002",
  "rgb": {
    "r": 5,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 114,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21433,
    "c": 0.06453,
    "h": 140.8
  },
  "luminance": 0.0107
}

Semantic roles & 50–950 ramp

primary
#052002
secondary
#5E1866
accent
#29FEE9
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #052002

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

Preview Lab → · Contrast checker → · Palette generator →

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