#052007#052007

#052007 is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.5% C 0.057 H 144.8°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#052007
RGBrgb(5, 32, 7)
HSLhsl(124, 73%, 7%)
HSVhsv(124, 84%, 13%)
CMYKcmyk(84.4%, 0%, 78.1%, 87.5%)
CIE-LABlab(9.65, -16.28, 11.24)
CIE-LCHlch(9.65, 19.79, 145.39°)
OKLaboklab(21.53% -0.0467 0.0329)
OKLCHoklch(21.53% 0.057 144.8)
XYZxyz(0.6174, 1.0806, 0.3770)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052007 #20051E
analogous
#112005 #052007 #052015
triadic
#052007 #070520 #200705
tetradic
#052007 #051120 #20051E #201505
square
#052007 #051120 #20051E #201505
split-complementary
#052007 #150520 #200511
monochromatic
#041A06 #041A06 #052007 #0D5513 #168A1E

Accessibility & contrast

On white

17.27
#052007 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#052007 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052007
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052007#FFFFFF#000000##FFFFFF
##0520071.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C05
Deuteranopia (green-blind)
#1D1A09
Tritanopia (blue-blind)
#011F1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #052007;
/* rgb */ color: rgb(5, 32, 7);
/* oklch */ color: oklch(21.5% 0.057 144.8);
Tailwind
colors: {
  custom: {
    50: '#485b4a',
    500: '#052007',
    950: '#000000',
  },
}
SCSS
$custom: #052007;
$custom-light: #485b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#052007",
  "rgb": {
    "r": 5,
    "g": 32,
    "b": 7
  },
  "hsl": {
    "h": 124.444,
    "s": 72.973,
    "l": 7.255
  },
  "oklch": {
    "l": 0.21533,
    "c": 0.05713,
    "h": 144.8
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#052007
secondary
#61205C
accent
#38E2F0
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #052007

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

Preview Lab → · Contrast checker → · Palette generator →

#052007 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva