#052A0B#052A0B

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

Color values

HEX#052A0B
RGBrgb(5, 42, 11)
HSLhsl(130, 79%, 9%)
HSVhsv(130, 88%, 16%)
CMYKcmyk(88.1%, 0%, 73.8%, 83.5%)
CIE-LABlab(13.90, -21.13, 15.42)
CIE-LCHlch(13.90, 26.16, 143.88°)
OKLaboklab(25.07% -0.057 0.0384)
OKLCHoklch(25.07% 0.069 146)
XYZxyz(0.9509, 1.7122, 0.5969)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A0B #2A0524
analogous
#122A05 #052A0B #052A1E
triadic
#052A0B #0B052A #2A0B05
tetradic
#052A0B #05122A #2A0524 #2A1E05
square
#052A0B #05122A #2A0524 #2A1E05
split-complementary
#052A0B #1E052A #2A0512
monochromatic
#031B07 #031B07 #052A0B #0C6119 #129728

Accessibility & contrast

On white

15.64
#052A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052A0B
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A0B#FFFFFF#000000##FFFFFF
##052A0B1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #052a0b;
/* rgb */ color: rgb(5, 42, 11);
/* oklch */ color: oklch(25.1% 0.069 146.0);
Tailwind
colors: {
  custom: {
    50: '#4b644c',
    500: '#052a0b',
    950: '#000000',
  },
}
SCSS
$custom: #052a0b;
$custom-light: #4b644c;
$custom-dark: #000000;
JSON
{
  "hex": "#052a0b",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 11
  },
  "hsl": {
    "h": 129.73,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25072,
    "c": 0.06874,
    "h": 146
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#052A0B
secondary
#6C1F5F
accent
#33D6F5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #052A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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