#052E04#052E04

#052E04 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.3% C 0.082 H 142.4°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#052E04
RGBrgb(5, 46, 4)
HSLhsl(119, 84%, 10%)
HSVhsv(119, 91%, 18%)
CMYKcmyk(89.1%, 0%, 91.3%, 82%)
CIE-LABlab(15.46, -23.85, 20.31)
CIE-LCHlch(15.46, 31.32, 139.59°)
OKLaboklab(26.34% -0.0648 0.0498)
OKLCHoklch(26.34% 0.082 142.4)
XYZxyz(1.0614, 1.9949, 0.4440)
Luminance0.0199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052E04 #2D042E
analogous
#1A2E04 #052E04 #042E18
triadic
#052E04 #04052E #2E0405
tetradic
#052E04 #041A2E #2D042E #2E1804
square
#052E04 #041A2E #2D042E #2E1804
split-complementary
#052E04 #18042E #2E041A
monochromatic
#031C02 #031C02 #052E04 #0B6609 #119F0E

Accessibility & contrast

On white

15.01
#052E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#052E04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052E04
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052E04#FFFFFF#000000##FFFFFF
##052E041.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2900
Deuteranopia (green-blind)
#2B2508
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #052e04;
/* rgb */ color: rgb(5, 46, 4);
/* oklch */ color: oklch(26.3% 0.082 142.4);
Tailwind
colors: {
  custom: {
    50: '#4c6748',
    500: '#052e04',
    950: '#000000',
  },
}
SCSS
$custom: #052e04;
$custom-light: #4c6748;
$custom-dark: #000000;
JSON
{
  "hex": "#052e04",
  "rgb": {
    "r": 5,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 118.571,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26341,
    "c": 0.08177,
    "h": 142.4
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #052E04

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

Preview Lab → · Contrast checker → · Palette generator →

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