#02520D#02520D

#02520D is a dark, vivid green. Relative luminance 0.061; OKLCH L 38.1% C 0.122 H 144.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#02520D
RGBrgb(2, 82, 13)
HSLhsl(128, 95%, 16%)
HSVhsv(128, 98%, 32%)
CMYKcmyk(97.6%, 0%, 84.1%, 67.8%)
CIE-LABlab(29.60, -36.56, 31.89)
CIE-LCHlch(29.60, 48.52, 138.90°)
OKLaboklab(38.12% -0.0987 0.0716)
OKLCHoklch(38.12% 0.122 144.1)
XYZxyz(3.1148, 6.0761, 1.3893)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02520D #520247
analogous
#1F5202 #02520D #025235
triadic
#02520D #0D0252 #520D02
tetradic
#02520D #021F52 #520247 #523502
square
#02520D #021F52 #520247 #523502
split-complementary
#02520D #350252 #52021F
monochromatic
#011E05 #011E05 #02520D #038E16 #05C920

Accessibility & contrast

On white

9.48
#02520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#02520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02520D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02520D#FFFFFF#000000##FFFFFF
##02520D1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544901
Deuteranopia (green-blind)
#4C4415
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #02520d;
/* rgb */ color: rgb(2, 82, 13);
/* oklch */ color: oklch(38.1% 0.122 144.1);
Tailwind
colors: {
  custom: {
    50: '#588452',
    500: '#02520d',
    950: '#000000',
  },
}
SCSS
$custom: #02520d;
$custom-light: #588452;
$custom-dark: #000000;
JSON
{
  "hex": "#02520d",
  "rgb": {
    "r": 2,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 128.25,
    "s": 95.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.38123,
    "c": 0.12195,
    "h": 144.1
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#02520D
secondary
#931D82
accent
#29E2FF
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040B02
muted
#797C78

Preview Lab

Preview with #02520D

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

Preview Lab → · Contrast checker → · Palette generator →

#02520D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva