#052B17#052B17

#052B17 is a dark, muted green. Relative luminance 0.018; OKLCH L 25.7% C 0.057 H 155.7°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#052B17
RGBrgb(5, 43, 23)
HSLhsl(148, 79%, 9%)
HSVhsv(148, 88%, 17%)
CMYKcmyk(88.4%, 0%, 46.5%, 83.1%)
CIE-LABlab(14.52, -19.12, 9.32)
CIE-LCHlch(14.52, 21.27, 154.01°)
OKLaboklab(25.66% -0.0516 0.0233)
OKLCHoklch(25.66% 0.057 155.7)
XYZxyz(1.0810, 1.8218, 1.1051)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052B17 #2B0519
analogous
#062B05 #052B17 #052B2A
triadic
#052B17 #17052B #2B1705
tetradic
#052B17 #05062B #2B0519 #2B2A05
square
#052B17 #05062B #2B0519 #2B2A05
split-complementary
#052B17 #2A052B #2B0506
monochromatic
#031B0F #031B0F #052B17 #0B6234 #129952

Accessibility & contrast

On white

15.39
#052B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#052B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052B17
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052B17#FFFFFF#000000##FFFFFF
##052B171.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2716
Deuteranopia (green-blind)
#262318
Tritanopia (blue-blind)
#002A26
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #052b17;
/* rgb */ color: rgb(5, 43, 23);
/* oklch */ color: oklch(25.7% 0.057 155.7);
Tailwind
colors: {
  custom: {
    50: '#4b6554',
    500: '#052b17',
    950: '#000000',
  },
}
SCSS
$custom: #052b17;
$custom-light: #4b6554;
$custom-dark: #000000;
JSON
{
  "hex": "#052b17",
  "rgb": {
    "r": 5,
    "g": 43,
    "b": 23
  },
  "hsl": {
    "h": 148.421,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25658,
    "c": 0.05667,
    "h": 155.7
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#052B17
secondary
#6D1F48
accent
#3299F6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #052B17

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

Preview Lab → · Contrast checker → · Palette generator →

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