#052E17#052E17

#052E17 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.7% C 0.062 H 153.9°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#052E17
RGBrgb(5, 46, 23)
HSLhsl(146, 80%, 10%)
HSVhsv(146, 89%, 18%)
CMYKcmyk(89.1%, 0%, 50%, 82%)
CIE-LABlab(15.74, -20.56, 10.93)
CIE-LCHlch(15.74, 23.29, 152.01°)
OKLaboklab(26.66% -0.0554 0.0271)
OKLCHoklch(26.66% 0.062 153.9)
XYZxyz(1.1941, 2.0480, 1.1428)
Luminance0.0205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052E17 #2E051C
analogous
#082E05 #052E17 #052E2B
triadic
#052E17 #17052E #2E1705
tetradic
#052E17 #05082E #2E051C #2E2B05
square
#052E17 #05082E #2E051C #2E2B05
split-complementary
#052E17 #2B052E #2E0508
monochromatic
#031C0E #031C0E #052E17 #0B6533 #119C4E

Accessibility & contrast

On white

14.90
#052E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052E17
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052E17#FFFFFF#000000##FFFFFF
##052E171.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2915
Deuteranopia (green-blind)
#292619
Tritanopia (blue-blind)
#002D28
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #052e17;
/* rgb */ color: rgb(5, 46, 23);
/* oklch */ color: oklch(26.7% 0.062 153.9);
Tailwind
colors: {
  custom: {
    50: '#4c6754',
    500: '#052e17',
    950: '#000000',
  },
}
SCSS
$custom: #052e17;
$custom-light: #4c6754;
$custom-dark: #000000;
JSON
{
  "hex": "#052e17",
  "rgb": {
    "r": 5,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 146.341,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.2666,
    "c": 0.06168,
    "h": 153.9
  },
  "luminance": 0.02048
}

Semantic roles & 50–950 ramp

primary
#052E17
secondary
#701F4C
accent
#31A0F7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #052E17

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

Preview Lab → · Contrast checker → · Palette generator →

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