#052A09#052A09

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

Color values

HEX#052A09
RGBrgb(5, 42, 9)
HSLhsl(126, 79%, 9%)
HSVhsv(126, 88%, 16%)
CMYKcmyk(88.1%, 0%, 78.6%, 83.5%)
CIE-LABlab(13.87, -21.44, 16.22)
CIE-LCHlch(13.87, 26.88, 142.90°)
OKLaboklab(25.04% -0.0579 0.0407)
OKLCHoklch(25.04% 0.071 144.9)
XYZxyz(0.9398, 1.7078, 0.5385)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A09 #2A0526
analogous
#142A05 #052A09 #052A1C
triadic
#052A09 #09052A #2A0905
tetradic
#052A09 #05142A #2A0526 #2A1C05
square
#052A09 #05142A #2A0526 #2A1C05
split-complementary
#052A09 #1C052A #2A0514
monochromatic
#031B06 #031B06 #052A09 #0C6115 #129720

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##052A09#FFFFFF#000000##FFFFFF
##052A091.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)
#2B2506
Deuteranopia (green-blind)
#27220C
Tritanopia (blue-blind)
#002923
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #052a09;
/* rgb */ color: rgb(5, 42, 9);
/* oklch */ color: oklch(25.0% 0.071 144.9);
Tailwind
colors: {
  custom: {
    50: '#4b644b',
    500: '#052a09',
    950: '#000000',
  },
}
SCSS
$custom: #052a09;
$custom-light: #4b644b;
$custom-dark: #000000;
JSON
{
  "hex": "#052a09",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 9
  },
  "hsl": {
    "h": 126.486,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25042,
    "c": 0.07077,
    "h": 144.9
  },
  "luminance": 0.01708
}

Semantic roles & 50–950 ramp

primary
#052A09
secondary
#6C1F63
accent
#33E0F5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #052A09

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

Preview Lab → · Contrast checker → · Palette generator →

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