#052F04#052F04

#052F04 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.7% C 0.083 H 142.4°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#052F04
RGBrgb(5, 47, 4)
HSLhsl(119, 84%, 10%)
HSVhsv(119, 91%, 18%)
CMYKcmyk(89.4%, 0%, 91.5%, 81.6%)
CIE-LABlab(15.87, -24.24, 20.82)
CIE-LCHlch(15.87, 31.96, 139.33°)
OKLaboklab(26.68% -0.0659 0.0507)
OKLCHoklch(26.68% 0.083 142.4)
XYZxyz(1.1010, 2.0739, 0.4571)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F04 #2E042F
analogous
#1A2F04 #052F04 #042F19
triadic
#052F04 #04052F #2F0405
tetradic
#052F04 #041A2F #2E042F #2F1904
square
#052F04 #041A2F #2E042F #2F1904
split-complementary
#052F04 #19042F #2F041A
monochromatic
#031C02 #031C02 #052F04 #0B6709 #11A00E

Accessibility & contrast

On white

14.84
#052F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#052F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052F04
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F04#FFFFFF#000000##FFFFFF
##052F041.0014.841.4114.84
#FFFFFF14.841.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2C2608
Tritanopia (blue-blind)
#002D27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #052f04;
/* rgb */ color: rgb(5, 47, 4);
/* oklch */ color: oklch(26.7% 0.083 142.4);
Tailwind
colors: {
  custom: {
    50: '#4c6848',
    500: '#052f04',
    950: '#000000',
  },
}
SCSS
$custom: #052f04;
$custom-light: #4c6848;
$custom-dark: #000000;
JSON
{
  "hex": "#052f04",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 118.605,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.26682,
    "c": 0.08311,
    "h": 142.4
  },
  "luminance": 0.02074
}

Semantic roles & 50–950 ramp

primary
#052F04
secondary
#701D72
accent
#2DFBF6
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77

Preview Lab

Preview with #052F04

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

Preview Lab → · Contrast checker → · Palette generator →

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