#052A04#052A04

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

Color values

HEX#052A04
RGBrgb(5, 42, 4)
HSLhsl(118, 83%, 9%)
HSVhsv(118, 90%, 16%)
CMYKcmyk(88.1%, 0%, 90.5%, 83.5%)
CIE-LABlab(13.81, -22.22, 18.17)
CIE-LCHlch(13.81, 28.70, 140.73°)
OKLaboklab(24.97% -0.0604 0.0465)
OKLCHoklch(24.97% 0.076 142.4)
XYZxyz(0.9124, 1.6969, 0.3943)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A04 #29042A
analogous
#182A04 #052A04 #042A16
triadic
#052A04 #04052A #2A0405
tetradic
#052A04 #04182A #29042A #2A1604
square
#052A04 #04182A #29042A #2A1604
split-complementary
#052A04 #16042A #2A0418
monochromatic
#031C03 #031C03 #052A04 #0C6209 #129A0F

Accessibility & contrast

On white

15.68
#052A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052A04
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A04#FFFFFF#000000##FFFFFF
##052A041.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #052a04;
/* rgb */ color: rgb(5, 42, 4);
/* oklch */ color: oklch(25.0% 0.076 142.4);
Tailwind
colors: {
  custom: {
    50: '#4a6448',
    500: '#052a04',
    950: '#000000',
  },
}
SCSS
$custom: #052a04;
$custom-light: #4a6448;
$custom-dark: #000000;
JSON
{
  "hex": "#052a04",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 4
  },
  "hsl": {
    "h": 118.421,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.24969,
    "c": 0.07623,
    "h": 142.4
  },
  "luminance": 0.01697
}

Semantic roles & 50–950 ramp

primary
#052A04
secondary
#6B1D6D
accent
#2FF9F4
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010500
muted
#777A77

Preview Lab

Preview with #052A04

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

Preview Lab → · Contrast checker → · Palette generator →

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