#052B08#052B08

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

Color values

HEX#052B08
RGBrgb(5, 43, 8)
HSLhsl(125, 79%, 9%)
HSVhsv(125, 88%, 17%)
CMYKcmyk(88.4%, 0%, 81.4%, 83.1%)
CIE-LABlab(14.27, -22.02, 17.15)
CIE-LCHlch(14.27, 27.91, 142.10°)
OKLaboklab(25.37% -0.0596 0.0427)
OKLCHoklch(25.37% 0.073 144.3)
XYZxyz(0.9702, 1.7774, 0.5216)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052B08 #2B0528
analogous
#152B05 #052B08 #052B1B
triadic
#052B08 #08052B #2B0805
tetradic
#052B08 #05152B #2B0528 #2B1B05
square
#052B08 #05152B #2B0528 #2B1B05
split-complementary
#052B08 #1B052B #2B0515
monochromatic
#031B05 #031B05 #052B08 #0B6212 #12991C

Accessibility & contrast

On white

15.49
#052B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052B08
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052B08#FFFFFF#000000##FFFFFF
##052B081.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2605
Deuteranopia (green-blind)
#28230B
Tritanopia (blue-blind)
#002A24
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #052b08;
/* rgb */ color: rgb(5, 43, 8);
/* oklch */ color: oklch(25.4% 0.073 144.3);
Tailwind
colors: {
  custom: {
    50: '#4b654a',
    500: '#052b08',
    950: '#000000',
  },
}
SCSS
$custom: #052b08;
$custom-light: #4b654a;
$custom-dark: #000000;
JSON
{
  "hex": "#052b08",
  "rgb": {
    "r": 5,
    "g": 43,
    "b": 8
  },
  "hsl": {
    "h": 124.737,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.2537,
    "c": 0.07331,
    "h": 144.3
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#052B08
secondary
#6D1F67
accent
#32E6F6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #052B08

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

Preview Lab → · Contrast checker → · Palette generator →

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