#052702#052702

#052702 is a very dark, moderate green. Relative luminance 0.015; OKLCH L 23.9% C 0.075 H 141.3°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#052702
RGBrgb(5, 39, 2)
HSLhsl(115, 90%, 8%)
HSVhsv(115, 95%, 15%)
CMYKcmyk(87.2%, 0%, 94.9%, 84.7%)
CIE-LABlab(12.53, -21.27, 17.28)
CIE-LCHlch(12.53, 27.41, 140.92°)
OKLaboklab(23.9% -0.0582 0.0466)
OKLCHoklch(23.9% 0.075 141.3)
XYZxyz(0.7990, 1.4876, 0.3024)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052702 #240227
analogous
#172702 #052702 #022711
triadic
#052702 #020527 #270205
tetradic
#052702 #021727 #240227 #271102
square
#052702 #021727 #240227 #271102
split-complementary
#052702 #110227 #270217
monochromatic
#041D01 #041D01 #052702 #0C6105 #149B08

Accessibility & contrast

On white

16.18
#052702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#052702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052702
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052702#FFFFFF#000000##FFFFFF
##0527021.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#242005
Tritanopia (blue-blind)
#012520
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #052702;
/* rgb */ color: rgb(5, 39, 2);
/* oklch */ color: oklch(23.9% 0.075 141.3);
Tailwind
colors: {
  custom: {
    50: '#496247',
    500: '#052702',
    950: '#000000',
  },
}
SCSS
$custom: #052702;
$custom-light: #496247;
$custom-dark: #000000;
JSON
{
  "hex": "#052702",
  "rgb": {
    "r": 5,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 115.135,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23897,
    "c": 0.07453,
    "h": 141.3
  },
  "luminance": 0.01488
}

Semantic roles & 50–950 ramp

primary
#052702
secondary
#66186C
accent
#29FFEE
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #052702

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

Preview Lab → · Contrast checker → · Palette generator →

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