#052F18#052F18

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

Color values

HEX#052F18
RGBrgb(5, 47, 24)
HSLhsl(147, 81%, 10%)
HSVhsv(147, 89%, 18%)
CMYKcmyk(89.4%, 0%, 48.9%, 81.6%)
CIE-LABlab(16.16, -20.79, 10.82)
CIE-LCHlch(16.16, 23.44, 152.51°)
OKLaboklab(27.02% -0.056 0.0269)
OKLCHoklch(27.02% 0.062 154.4)
XYZxyz(1.2439, 2.1311, 1.2098)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F18 #2F051C
analogous
#072F05 #052F18 #052F2D
triadic
#052F18 #18052F #2F1805
tetradic
#052F18 #05072F #2F051C #2F2D05
square
#052F18 #05072F #2F051C #2F2D05
split-complementary
#052F18 #2D052F #2F0507
monochromatic
#031C0E #031C0E #052F18 #0B6634 #119E50

Accessibility & contrast

On white

14.72
#052F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052F18
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F18#FFFFFF#000000##FFFFFF
##052F181.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #052f18;
/* rgb */ color: rgb(5, 47, 24);
/* oklch */ color: oklch(27.0% 0.062 154.4);
Tailwind
colors: {
  custom: {
    50: '#4c6855',
    500: '#052f18',
    950: '#000000',
  },
}
SCSS
$custom: #052f18;
$custom-light: #4c6855;
$custom-dark: #000000;
JSON
{
  "hex": "#052f18",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 147.143,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27016,
    "c": 0.06217,
    "h": 154.4
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#052F18
secondary
#711F4C
accent
#319DF7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010603
muted
#777A78

Preview Lab

Preview with #052F18

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

Preview Lab → · Contrast checker → · Palette generator →

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