#052B05#052B05

#052B05 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.3% C 0.077 H 142.9°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#052B05
RGBrgb(5, 43, 5)
HSLhsl(120, 79%, 9%)
HSVhsv(120, 88%, 17%)
CMYKcmyk(88.4%, 0%, 88.4%, 83.1%)
CIE-LABlab(14.24, -22.48, 18.32)
CIE-LCHlch(14.24, 29.00, 140.82°)
OKLaboklab(25.33% -0.061 0.0461)
OKLCHoklch(25.33% 0.077 142.9)
XYZxyz(0.9538, 1.7709, 0.4351)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052B05 #2B052B
analogous
#182B05 #052B05 #052B18
triadic
#052B05 #05052B #2B0505
tetradic
#052B05 #05182B #2B052B #2B1805
square
#052B05 #05182B #2B052B #2B1805
split-complementary
#052B05 #18052B #2B0518
monochromatic
#031B03 #031B03 #052B05 #0B620B #129912

Accessibility & contrast

On white

15.51
#052B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#052B05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052B05
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052B05#FFFFFF#000000##FFFFFF
##052B051.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2601
Deuteranopia (green-blind)
#282308
Tritanopia (blue-blind)
#002923
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #052b05;
/* rgb */ color: rgb(5, 43, 5);
/* oklch */ color: oklch(25.3% 0.077 142.9);
Tailwind
colors: {
  custom: {
    50: '#4b6549',
    500: '#052b05',
    950: '#000000',
  },
}
SCSS
$custom: #052b05;
$custom-light: #4b6549;
$custom-dark: #000000;
JSON
{
  "hex": "#052b05",
  "rgb": {
    "r": 5,
    "g": 43,
    "b": 5
  },
  "hsl": {
    "h": 120,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25327,
    "c": 0.07651,
    "h": 142.9
  },
  "luminance": 0.01771
}

Semantic roles & 50–950 ramp

primary
#052B05
secondary
#6D1F6D
accent
#32F6F6
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010501
muted
#777A77

Preview Lab

Preview with #052B05

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

Preview Lab → · Contrast checker → · Palette generator →

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