#052D05#052D05

#052D05 is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.0% C 0.079 H 142.9°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#052D05
RGBrgb(5, 45, 5)
HSLhsl(120, 80%, 10%)
HSVhsv(120, 89%, 18%)
CMYKcmyk(88.9%, 0%, 88.9%, 82.4%)
CIE-LABlab(15.06, -23.30, 19.39)
CIE-LCHlch(15.06, 30.31, 140.23°)
OKLaboklab(26.01% -0.0632 0.0479)
OKLCHoklch(26.01% 0.079 142.9)
XYZxyz(1.0283, 1.9199, 0.4599)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052D05 #2D052D
analogous
#192D05 #052D05 #052D19
triadic
#052D05 #05052D #2D0505
tetradic
#052D05 #05192D #2D052D #2D1905
square
#052D05 #05192D #2D052D #2D1905
split-complementary
#052D05 #19052D #2D0519
monochromatic
#031C03 #031C03 #052D05 #0B640B #119B11

Accessibility & contrast

On white

15.17
#052D05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#052D05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052D05
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052D05#FFFFFF#000000##FFFFFF
##052D051.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2801
Deuteranopia (green-blind)
#2A2508
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #052d05;
/* rgb */ color: rgb(5, 45, 5);
/* oklch */ color: oklch(26.0% 0.079 142.9);
Tailwind
colors: {
  custom: {
    50: '#4c6649',
    500: '#052d05',
    950: '#000000',
  },
}
SCSS
$custom: #052d05;
$custom-light: #4c6649;
$custom-dark: #000000;
JSON
{
  "hex": "#052d05",
  "rgb": {
    "r": 5,
    "g": 45,
    "b": 5
  },
  "hsl": {
    "h": 120,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26013,
    "c": 0.07933,
    "h": 142.9
  },
  "luminance": 0.0192
}

Semantic roles & 50–950 ramp

primary
#052D05
secondary
#6F1F6F
accent
#31F6F6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052D05

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

Preview Lab → · Contrast checker → · Palette generator →

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