#052C0B#052C0B

#052C0B is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.8% C 0.072 H 145.7°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#052C0B
RGBrgb(5, 44, 11)
HSLhsl(129, 80%, 10%)
HSVhsv(129, 89%, 17%)
CMYKcmyk(88.6%, 0%, 75%, 82.7%)
CIE-LABlab(14.72, -22.01, 16.50)
CIE-LCHlch(14.72, 27.50, 143.14°)
OKLaboklab(25.76% -0.0593 0.0405)
OKLCHoklch(25.76% 0.072 145.7)
XYZxyz(1.0236, 1.8577, 0.6212)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052C0B #2C0526
analogous
#132C05 #052C0B #052C1F
triadic
#052C0B #0B052C #2C0B05
tetradic
#052C0B #05132C #2C0526 #2C1F05
square
#052C0B #05132C #2C0526 #2C1F05
split-complementary
#052C0B #1F052C #2C0513
monochromatic
#031B07 #031B07 #052C0B #0B6319 #119A26

Accessibility & contrast

On white

15.31
#052C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#052C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052C0B
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052C0B#FFFFFF#000000##FFFFFF
##052C0B1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2708
Deuteranopia (green-blind)
#28240E
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #052c0b;
/* rgb */ color: rgb(5, 44, 11);
/* oklch */ color: oklch(25.8% 0.072 145.7);
Tailwind
colors: {
  custom: {
    50: '#4b664c',
    500: '#052c0b',
    950: '#000000',
  },
}
SCSS
$custom: #052c0b;
$custom-light: #4b664c;
$custom-dark: #000000;
JSON
{
  "hex": "#052c0b",
  "rgb": {
    "r": 5,
    "g": 44,
    "b": 11
  },
  "hsl": {
    "h": 129.231,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.25755,
    "c": 0.07184,
    "h": 145.7
  },
  "luminance": 0.01858
}

Semantic roles & 50–950 ramp

primary
#052C0B
secondary
#6E1F62
accent
#32D8F6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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