#052A05#052A05

#052A05 is a very dark, moderate green. Relative luminance 0.017; OKLCH L 25.0% C 0.075 H 142.9°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#052A05
RGBrgb(5, 42, 5)
HSLhsl(120, 79%, 9%)
HSVhsv(120, 88%, 16%)
CMYKcmyk(88.1%, 0%, 88.1%, 83.5%)
CIE-LABlab(13.82, -22.06, 17.78)
CIE-LCHlch(13.82, 28.33, 141.14°)
OKLaboklab(24.98% -0.0599 0.0453)
OKLCHoklch(24.98% 0.075 142.9)
XYZxyz(0.9179, 1.6990, 0.4231)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A05 #2A052A
analogous
#182A05 #052A05 #052A18
triadic
#052A05 #05052A #2A0505
tetradic
#052A05 #05182A #2A052A #2A1805
square
#052A05 #05182A #2A052A #2A1805
split-complementary
#052A05 #18052A #2A0518
monochromatic
#031B03 #031B03 #052A05 #0C610C #129712

Accessibility & contrast

On white

15.67
#052A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052A05
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A05#FFFFFF#000000##FFFFFF
##052A051.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2502
Deuteranopia (green-blind)
#272208
Tritanopia (blue-blind)
#002823
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #052a05;
/* rgb */ color: rgb(5, 42, 5);
/* oklch */ color: oklch(25.0% 0.075 142.9);
Tailwind
colors: {
  custom: {
    50: '#4a6449',
    500: '#052a05',
    950: '#000000',
  },
}
SCSS
$custom: #052a05;
$custom-light: #4a6449;
$custom-dark: #000000;
JSON
{
  "hex": "#052a05",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 120,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.24983,
    "c": 0.07509,
    "h": 142.9
  },
  "luminance": 0.01699
}

Semantic roles & 50–950 ramp

primary
#052A05
secondary
#6C1F6C
accent
#33F5F5
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010500
muted
#777A77

Preview Lab

Preview with #052A05

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

Preview Lab → · Contrast checker → · Palette generator →

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