#052108#052108

#052108 is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.9% C 0.058 H 145.5°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#052108
RGBrgb(5, 33, 8)
HSLhsl(126, 74%, 7%)
HSVhsv(126, 85%, 13%)
CMYKcmyk(84.8%, 0%, 75.8%, 87.1%)
CIE-LABlab(10.09, -16.84, 11.46)
CIE-LCHlch(10.09, 20.37, 145.78°)
OKLaboklab(21.9% -0.0474 0.0326)
OKLCHoklch(21.9% 0.058 145.5)
XYZxyz(0.6502, 1.1374, 0.4150)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052108 #21051E
analogous
#102105 #052108 #052116
triadic
#052108 #080521 #210805
tetradic
#052108 #051021 #21051E #211605
square
#052108 #051021 #21051E #211605
split-complementary
#052108 #160521 #210510
monochromatic
#041B06 #041B06 #052108 #0D5615 #158B22

Accessibility & contrast

On white

17.11
#052108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#052108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052108
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052108#FFFFFF#000000##FFFFFF
##0521081.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D06
Deuteranopia (green-blind)
#1E1B0A
Tritanopia (blue-blind)
#01201B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #052108;
/* rgb */ color: rgb(5, 33, 8);
/* oklch */ color: oklch(21.9% 0.058 145.5);
Tailwind
colors: {
  custom: {
    50: '#485c4a',
    500: '#052108',
    950: '#000000',
  },
}
SCSS
$custom: #052108;
$custom-light: #485c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#052108",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 8
  },
  "hsl": {
    "h": 126.429,
    "s": 73.684,
    "l": 7.451
  },
  "oklch": {
    "l": 0.21904,
    "c": 0.05751,
    "h": 145.5
  },
  "luminance": 0.01138
}

Semantic roles & 50–950 ramp

primary
#052108
secondary
#621F5B
accent
#37DDF0
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #052108

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

Preview Lab → · Contrast checker → · Palette generator →

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