#052C08#052C08

#052C08 is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.7% C 0.075 H 144.3°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#052C08
RGBrgb(5, 44, 8)
HSLhsl(125, 80%, 10%)
HSVhsv(125, 89%, 17%)
CMYKcmyk(88.6%, 0%, 81.8%, 82.7%)
CIE-LABlab(14.69, -22.45, 17.68)
CIE-LCHlch(14.69, 28.57, 141.77°)
OKLaboklab(25.71% -0.0607 0.0437)
OKLCHoklch(25.71% 0.075 144.3)
XYZxyz(1.0070, 1.8510, 0.5339)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052C08 #2C0529
analogous
#162C05 #052C08 #052C1C
triadic
#052C08 #08052C #2C0805
tetradic
#052C08 #05162C #2C0529 #2C1C05
square
#052C08 #05162C #2C0529 #2C1C05
split-complementary
#052C08 #1C052C #2C0516
monochromatic
#031B05 #031B05 #052C08 #0B6312 #119A1C

Accessibility & contrast

On white

15.33
#052C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052C08
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052C08#FFFFFF#000000##FFFFFF
##052C081.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2704
Deuteranopia (green-blind)
#28240B
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #052c08;
/* rgb */ color: rgb(5, 44, 8);
/* oklch */ color: oklch(25.7% 0.075 144.3);
Tailwind
colors: {
  custom: {
    50: '#4b664a',
    500: '#052c08',
    950: '#000000',
  },
}
SCSS
$custom: #052c08;
$custom-light: #4b664a;
$custom-dark: #000000;
JSON
{
  "hex": "#052c08",
  "rgb": {
    "r": 5,
    "g": 44,
    "b": 8
  },
  "hsl": {
    "h": 124.615,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.25712,
    "c": 0.0748,
    "h": 144.3
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#052C08
secondary
#6E1F68
accent
#32E7F6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052C08

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

Preview Lab → · Contrast checker → · Palette generator →

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