#052502#052502

#052502 is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.2% C 0.072 H 141.2°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#052502
RGBrgb(5, 37, 2)
HSLhsl(115, 90%, 8%)
HSVhsv(115, 95%, 15%)
CMYKcmyk(86.5%, 0%, 94.6%, 85.5%)
CIE-LABlab(11.69, -20.26, 16.13)
CIE-LCHlch(11.69, 25.90, 141.48°)
OKLaboklab(23.2% -0.0559 0.0449)
OKLCHoklch(23.2% 0.072 141.2)
XYZxyz(0.7351, 1.3597, 0.2811)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052502 #220225
analogous
#162502 #052502 #022510
triadic
#052502 #020525 #250205
tetradic
#052502 #021625 #220225 #251002
square
#052502 #021625 #220225 #251002
split-complementary
#052502 #100225 #250216
monochromatic
#041D02 #041D02 #052502 #0D5F05 #159908

Accessibility & contrast

On white

16.51
#052502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#052502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052502
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052502#FFFFFF#000000##FFFFFF
##0525021.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262000
Deuteranopia (green-blind)
#221E04
Tritanopia (blue-blind)
#01231E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #052502;
/* rgb */ color: rgb(5, 37, 2);
/* oklch */ color: oklch(23.2% 0.072 141.2);
Tailwind
colors: {
  custom: {
    50: '#496047',
    500: '#052502',
    950: '#000000',
  },
}
SCSS
$custom: #052502;
$custom-light: #496047;
$custom-dark: #000000;
JSON
{
  "hex": "#052502",
  "rgb": {
    "r": 5,
    "g": 37,
    "b": 2
  },
  "hsl": {
    "h": 114.857,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.23198,
    "c": 0.07174,
    "h": 141.2
  },
  "luminance": 0.0136
}

Semantic roles & 50–950 ramp

primary
#052502
secondary
#63186A
accent
#29FFED
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010500
muted
#777977

Preview Lab

Preview with #052502

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

Preview Lab → · Contrast checker → · Palette generator →

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