#052803#052803

#052803 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.3% C 0.075 H 141.9°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#052803
RGBrgb(5, 40, 3)
HSLhsl(117, 86%, 8%)
HSVhsv(117, 93%, 16%)
CMYKcmyk(87.5%, 0%, 92.5%, 84.3%)
CIE-LABlab(12.96, -21.55, 17.45)
CIE-LCHlch(12.96, 27.73, 141.00°)
OKLaboklab(24.26% -0.0587 0.0461)
OKLCHoklch(24.26% 0.075 141.9)
XYZxyz(0.8378, 1.5563, 0.3424)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052803 #260328
analogous
#172803 #052803 #032813
triadic
#052803 #030528 #280305
tetradic
#052803 #031728 #260328 #281303
square
#052803 #031728 #260328 #281303
split-complementary
#052803 #130328 #280317
monochromatic
#041C02 #041C02 #052803 #0C6107 #139A0C

Accessibility & contrast

On white

16.02
#052803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#052803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052803
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052803#FFFFFF#000000##FFFFFF
##0528031.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#252006
Tritanopia (blue-blind)
#002621
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #052803;
/* rgb */ color: rgb(5, 40, 3);
/* oklch */ color: oklch(24.3% 0.075 141.9);
Tailwind
colors: {
  custom: {
    50: '#4a6248',
    500: '#052803',
    950: '#000000',
  },
}
SCSS
$custom: #052803;
$custom-light: #4a6248;
$custom-dark: #000000;
JSON
{
  "hex": "#052803",
  "rgb": {
    "r": 5,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 116.757,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.24261,
    "c": 0.07463,
    "h": 141.9
  },
  "luminance": 0.01556
}

Semantic roles & 50–950 ramp

primary
#052803
secondary
#681B6C
accent
#2CFCF1
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #052803

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

Preview Lab → · Contrast checker → · Palette generator →

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