#052C04#052C04

#052C04 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.7% C 0.079 H 142.4°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#052C04
RGBrgb(5, 44, 4)
HSLhsl(119, 83%, 9%)
HSVhsv(119, 91%, 17%)
CMYKcmyk(88.6%, 0%, 90.9%, 82.7%)
CIE-LABlab(14.64, -23.04, 19.25)
CIE-LCHlch(14.64, 30.02, 140.12°)
OKLaboklab(25.66% -0.0626 0.0482)
OKLCHoklch(25.66% 0.079 142.4)
XYZxyz(0.9851, 1.8423, 0.4185)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052C04 #2B042C
analogous
#192C04 #052C04 #042C17
triadic
#052C04 #04052C #2C0405
tetradic
#052C04 #04192C #2B042C #2C1704
square
#052C04 #04192C #2B042C #2C1704
split-complementary
#052C04 #17042C #2C0419
monochromatic
#031C03 #031C03 #052C04 #0B6409 #129C0E

Accessibility & contrast

On white

15.35
#052C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#052C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052C04
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052C04#FFFFFF#000000##FFFFFF
##052C041.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#292407
Tritanopia (blue-blind)
#002A24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #052c04;
/* rgb */ color: rgb(5, 44, 4);
/* oklch */ color: oklch(25.7% 0.079 142.4);
Tailwind
colors: {
  custom: {
    50: '#4b6648',
    500: '#052c04',
    950: '#000000',
  },
}
SCSS
$custom: #052c04;
$custom-light: #4b6648;
$custom-dark: #000000;
JSON
{
  "hex": "#052c04",
  "rgb": {
    "r": 5,
    "g": 44,
    "b": 4
  },
  "hsl": {
    "h": 118.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25657,
    "c": 0.07902,
    "h": 142.4
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#052C04
secondary
#6D1D6F
accent
#2EFAF5
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77

Preview Lab

Preview with #052C04

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

Preview Lab → · Contrast checker → · Palette generator →

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