#052B0B#052B0B

#052B0B is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.4% C 0.070 H 145.8°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#052B0B
RGBrgb(5, 43, 11)
HSLhsl(129, 79%, 9%)
HSVhsv(129, 88%, 17%)
CMYKcmyk(88.4%, 0%, 74.4%, 83.1%)
CIE-LABlab(14.31, -21.57, 15.96)
CIE-LCHlch(14.31, 26.84, 143.50°)
OKLaboklab(25.41% -0.0582 0.0395)
OKLCHoklch(25.41% 0.07 145.8)
XYZxyz(0.9868, 1.7841, 0.6089)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052B0B #2B0525
analogous
#122B05 #052B0B #052B1E
triadic
#052B0B #0B052B #2B0B05
tetradic
#052B0B #05122B #2B0525 #2B1E05
square
#052B0B #05122B #2B0525 #2B1E05
split-complementary
#052B0B #1E052B #2B0512
monochromatic
#031B07 #031B07 #052B0B #0B6219 #129927

Accessibility & contrast

On white

15.48
#052B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#052B0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052B0B
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052B0B#FFFFFF#000000##FFFFFF
##052B0B1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2608
Deuteranopia (green-blind)
#27230E
Tritanopia (blue-blind)
#002A24
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #052b0b;
/* rgb */ color: rgb(5, 43, 11);
/* oklch */ color: oklch(25.4% 0.070 145.8);
Tailwind
colors: {
  custom: {
    50: '#4b654c',
    500: '#052b0b',
    950: '#000000',
  },
}
SCSS
$custom: #052b0b;
$custom-light: #4b654c;
$custom-dark: #000000;
JSON
{
  "hex": "#052b0b",
  "rgb": {
    "r": 5,
    "g": 43,
    "b": 11
  },
  "hsl": {
    "h": 129.474,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25414,
    "c": 0.07029,
    "h": 145.8
  },
  "luminance": 0.01784
}

Semantic roles & 50–950 ramp

primary
#052B0B
secondary
#6D1F60
accent
#32D7F6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #052B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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