#052A02#052A02

#052A02 is a very dark, moderate green. Relative luminance 0.017; OKLCH L 24.9% C 0.079 H 141.5°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#052A02
RGBrgb(5, 42, 2)
HSLhsl(116, 91%, 9%)
HSVhsv(116, 95%, 16%)
CMYKcmyk(88.1%, 0%, 95.2%, 83.5%)
CIE-LABlab(13.78, -22.54, 18.95)
CIE-LCHlch(13.78, 29.44, 139.94°)
OKLaboklab(24.94% -0.0615 0.049)
OKLCHoklch(24.94% 0.079 141.5)
XYZxyz(0.9015, 1.6925, 0.3366)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A02 #27022A
analogous
#192A02 #052A02 #022A13
triadic
#052A02 #02052A #2A0205
tetradic
#052A02 #02192A #27022A #2A1302
square
#052A02 #02192A #27022A #2A1302
split-complementary
#052A02 #13022A #2A0219
monochromatic
#031D01 #031D01 #052A02 #0C6405 #139F08

Accessibility & contrast

On white

15.69
#052A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#052A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052A02
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A02#FFFFFF#000000##FFFFFF
##052A021.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#272205
Tritanopia (blue-blind)
#002822
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #052a02;
/* rgb */ color: rgb(5, 42, 2);
/* oklch */ color: oklch(24.9% 0.079 141.5);
Tailwind
colors: {
  custom: {
    50: '#4a6447',
    500: '#052a02',
    950: '#000000',
  },
}
SCSS
$custom: #052a02;
$custom-light: #4a6447;
$custom-dark: #000000;
JSON
{
  "hex": "#052a02",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 2
  },
  "hsl": {
    "h": 115.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24939,
    "c": 0.07861,
    "h": 141.5
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#052A02
secondary
#69196F
accent
#29FFEF
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010500
muted
#777A77

Preview Lab

Preview with #052A02

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

Preview Lab → · Contrast checker → · Palette generator →

#052A02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva