#052A08#052A08

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

Color values

HEX#052A08
RGBrgb(5, 42, 8)
HSLhsl(125, 79%, 9%)
HSVhsv(125, 88%, 16%)
CMYKcmyk(88.1%, 0%, 81%, 83.5%)
CIE-LABlab(13.86, -21.60, 16.61)
CIE-LCHlch(13.86, 27.24, 142.45°)
OKLaboklab(25.03% -0.0584 0.0418)
OKLCHoklch(25.03% 0.072 144.4)
XYZxyz(0.9343, 1.7056, 0.5097)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A08 #2A0527
analogous
#152A05 #052A08 #052A1B
triadic
#052A08 #08052A #2A0805
tetradic
#052A08 #05152A #2A0527 #2A1B05
square
#052A08 #05152A #2A0527 #2A1B05
split-complementary
#052A08 #1B052A #2A0515
monochromatic
#031B05 #031B05 #052A08 #0C6112 #12971D

Accessibility & contrast

On white

15.66
#052A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052A08
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A08#FFFFFF#000000##FFFFFF
##052A081.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2505
Deuteranopia (green-blind)
#27220B
Tritanopia (blue-blind)
#002923
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #052a08;
/* rgb */ color: rgb(5, 42, 8);
/* oklch */ color: oklch(25.0% 0.072 144.4);
Tailwind
colors: {
  custom: {
    50: '#4b644a',
    500: '#052a08',
    950: '#000000',
  },
}
SCSS
$custom: #052a08;
$custom-light: #4b644a;
$custom-dark: #000000;
JSON
{
  "hex": "#052a08",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 8
  },
  "hsl": {
    "h": 124.865,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25027,
    "c": 0.07181,
    "h": 144.4
  },
  "luminance": 0.01706
}

Semantic roles & 50–950 ramp

primary
#052A08
secondary
#6C1F65
accent
#33E5F5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #052A08

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

Preview Lab → · Contrast checker → · Palette generator →

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