#052B04#052B04

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

Color values

HEX#052B04
RGBrgb(5, 43, 4)
HSLhsl(118, 83%, 9%)
HSVhsv(118, 91%, 17%)
CMYKcmyk(88.4%, 0%, 90.7%, 83.1%)
CIE-LABlab(14.22, -22.63, 18.71)
CIE-LCHlch(14.22, 29.37, 140.42°)
OKLaboklab(25.31% -0.0615 0.0473)
OKLCHoklch(25.31% 0.078 142.4)
XYZxyz(0.9483, 1.7687, 0.4063)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052B04 #2A042B
analogous
#192B04 #052B04 #042B17
triadic
#052B04 #04052B #2B0405
tetradic
#052B04 #04192B #2A042B #2B1704
square
#052B04 #04192B #2A042B #2B1704
split-complementary
#052B04 #17042B #2B0419
monochromatic
#031C03 #031C03 #052B04 #0C6309 #129B0E

Accessibility & contrast

On white

15.51
#052B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#052B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052B04
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052B04#FFFFFF#000000##FFFFFF
##052B041.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#282307
Tritanopia (blue-blind)
#002923
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #052b04;
/* rgb */ color: rgb(5, 43, 4);
/* oklch */ color: oklch(25.3% 0.078 142.4);
Tailwind
colors: {
  custom: {
    50: '#4b6548',
    500: '#052b04',
    950: '#000000',
  },
}
SCSS
$custom: #052b04;
$custom-light: #4b6548;
$custom-dark: #000000;
JSON
{
  "hex": "#052b04",
  "rgb": {
    "r": 5,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 118.462,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25313,
    "c": 0.07763,
    "h": 142.4
  },
  "luminance": 0.01769
}

Semantic roles & 50–950 ramp

primary
#052B04
secondary
#6C1D6E
accent
#2EF9F4
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010500
muted
#777A77

Preview Lab

Preview with #052B04

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

Preview Lab → · Contrast checker → · Palette generator →

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