#052F17#052F17

#052F17 is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.0% C 0.063 H 153.4°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#052F17
RGBrgb(5, 47, 23)
HSLhsl(146, 81%, 10%)
HSVhsv(146, 89%, 18%)
CMYKcmyk(89.4%, 0%, 51.1%, 81.6%)
CIE-LABlab(16.14, -21.03, 11.46)
CIE-LCHlch(16.14, 23.95, 151.42°)
OKLaboklab(26.99% -0.0566 0.0284)
OKLCHoklch(26.99% 0.063 153.4)
XYZxyz(1.2336, 2.1270, 1.1560)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F17 #2F051D
analogous
#082F05 #052F17 #052F2C
triadic
#052F17 #17052F #2F1705
tetradic
#052F17 #05082F #2F051D #2F2C05
square
#052F17 #05082F #2F051D #2F2C05
split-complementary
#052F17 #2C052F #2F0508
monochromatic
#031C0E #031C0E #052F17 #0B6632 #119E4D

Accessibility & contrast

On white

14.73
#052F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#052F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052F17
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F17#FFFFFF#000000##FFFFFF
##052F171.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A15
Deuteranopia (green-blind)
#2A2719
Tritanopia (blue-blind)
#002E29
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #052f17;
/* rgb */ color: rgb(5, 47, 23);
/* oklch */ color: oklch(27.0% 0.063 153.4);
Tailwind
colors: {
  custom: {
    50: '#4c6854',
    500: '#052f17',
    950: '#000000',
  },
}
SCSS
$custom: #052f17;
$custom-light: #4c6854;
$custom-dark: #000000;
JSON
{
  "hex": "#052f17",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 145.714,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26993,
    "c": 0.06333,
    "h": 153.4
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#052F17
secondary
#711F4E
accent
#31A2F7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #052F17

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

Preview Lab → · Contrast checker → · Palette generator →

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