#052A06#052A06

#052A06 is a very dark, moderate green. Relative luminance 0.017; OKLCH L 25.0% C 0.074 H 143.4°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#052A06
RGBrgb(5, 42, 6)
HSLhsl(122, 79%, 9%)
HSVhsv(122, 88%, 16%)
CMYKcmyk(88.1%, 0%, 85.7%, 83.5%)
CIE-LABlab(13.83, -21.91, 17.39)
CIE-LCHlch(13.83, 27.97, 141.56°)
OKLaboklab(25% -0.0594 0.0441)
OKLCHoklch(25% 0.074 143.4)
XYZxyz(0.9234, 1.7012, 0.4520)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A06 #2A0529
analogous
#172A05 #052A06 #052A19
triadic
#052A06 #06052A #2A0605
tetradic
#052A06 #05172A #2A0529 #2A1905
square
#052A06 #05172A #2A0529 #2A1905
split-complementary
#052A06 #19052A #2A0517
monochromatic
#031B04 #031B04 #052A06 #0C610E #129716

Accessibility & contrast

On white

15.67
#052A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052A06
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A06#FFFFFF#000000##FFFFFF
##052A061.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2503
Deuteranopia (green-blind)
#272209
Tritanopia (blue-blind)
#002923
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #052a06;
/* rgb */ color: rgb(5, 42, 6);
/* oklch */ color: oklch(25.0% 0.074 143.4);
Tailwind
colors: {
  custom: {
    50: '#4b6449',
    500: '#052a06',
    950: '#000000',
  },
}
SCSS
$custom: #052a06;
$custom-light: #4b6449;
$custom-dark: #000000;
JSON
{
  "hex": "#052a06",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 6
  },
  "hsl": {
    "h": 121.622,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.24998,
    "c": 0.07397,
    "h": 143.4
  },
  "luminance": 0.01701
}

Semantic roles & 50–950 ramp

primary
#052A06
secondary
#6C1F6A
accent
#33F0F5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #052A06

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

Preview Lab → · Contrast checker → · Palette generator →

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