#052602#052602

#052602 is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.5% C 0.073 H 141.3°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#052602
RGBrgb(5, 38, 2)
HSLhsl(115, 90%, 8%)
HSVhsv(115, 95%, 15%)
CMYKcmyk(86.8%, 0%, 94.7%, 85.1%)
CIE-LABlab(12.11, -20.79, 16.71)
CIE-LCHlch(12.11, 26.67, 141.22°)
OKLaboklab(23.55% -0.057 0.0458)
OKLCHoklch(23.55% 0.073 141.3)
XYZxyz(0.7666, 1.4228, 0.2916)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052602 #230226
analogous
#172602 #052602 #022611
triadic
#052602 #020526 #260205
tetradic
#052602 #021726 #230226 #261102
square
#052602 #021726 #230226 #261102
split-complementary
#052602 #110226 #260217
monochromatic
#041D02 #041D02 #052602 #0D6005 #149A08

Accessibility & contrast

On white

16.35
#052602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#052602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052602
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052602#FFFFFF#000000##FFFFFF
##0526021.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272100
Deuteranopia (green-blind)
#231F05
Tritanopia (blue-blind)
#01241F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #052602;
/* rgb */ color: rgb(5, 38, 2);
/* oklch */ color: oklch(23.5% 0.073 141.3);
Tailwind
colors: {
  custom: {
    50: '#496147',
    500: '#052602',
    950: '#000000',
  },
}
SCSS
$custom: #052602;
$custom-light: #496147;
$custom-dark: #000000;
JSON
{
  "hex": "#052602",
  "rgb": {
    "r": 5,
    "g": 38,
    "b": 2
  },
  "hsl": {
    "h": 115,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23548,
    "c": 0.07314,
    "h": 141.3
  },
  "luminance": 0.01423
}

Semantic roles & 50–950 ramp

primary
#052602
secondary
#64186B
accent
#29FFED
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010500
muted
#777977

Preview Lab

Preview with #052602

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

Preview Lab → · Contrast checker → · Palette generator →

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