#052A0A#052A0A

#052A0A is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.1% C 0.070 H 145.5°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#052A0A
RGBrgb(5, 42, 10)
HSLhsl(128, 79%, 9%)
HSVhsv(128, 88%, 16%)
CMYKcmyk(88.1%, 0%, 76.2%, 83.5%)
CIE-LABlab(13.89, -21.29, 15.83)
CIE-LCHlch(13.89, 26.53, 143.37°)
OKLaboklab(25.06% -0.0575 0.0396)
OKLCHoklch(25.06% 0.07 145.5)
XYZxyz(0.9453, 1.7100, 0.5673)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A0A #2A0525
analogous
#132A05 #052A0A #052A1D
triadic
#052A0A #0A052A #2A0A05
tetradic
#052A0A #05132A #2A0525 #2A1D05
square
#052A0A #05132A #2A0525 #2A1D05
split-complementary
#052A0A #1D052A #2A0513
monochromatic
#031B07 #031B07 #052A0A #0C6117 #129724

Accessibility & contrast

On white

15.65
#052A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#052A0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052A0A
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A0A#FFFFFF#000000##FFFFFF
##052A0A1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2507
Deuteranopia (green-blind)
#26220D
Tritanopia (blue-blind)
#002923
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #052a0a;
/* rgb */ color: rgb(5, 42, 10);
/* oklch */ color: oklch(25.1% 0.070 145.5);
Tailwind
colors: {
  custom: {
    50: '#4b644b',
    500: '#052a0a',
    950: '#000000',
  },
}
SCSS
$custom: #052a0a;
$custom-light: #4b644b;
$custom-dark: #000000;
JSON
{
  "hex": "#052a0a",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 10
  },
  "hsl": {
    "h": 128.108,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25057,
    "c": 0.06976,
    "h": 145.5
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#052A0A
secondary
#6C1F61
accent
#33DBF5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #052A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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