#052F11#052F11

#052F11 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.9% C 0.070 H 148.6°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#052F11
RGBrgb(5, 47, 17)
HSLhsl(137, 81%, 10%)
HSVhsv(137, 89%, 18%)
CMYKcmyk(89.4%, 0%, 63.8%, 81.6%)
CIE-LABlab(16.03, -22.29, 15.13)
CIE-LCHlch(16.03, 26.94, 145.82°)
OKLaboklab(26.87% -0.0599 0.0365)
OKLCHoklch(26.87% 0.07 148.6)
XYZxyz(1.1802, 2.1056, 0.8744)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F11 #2F0523
analogous
#0E2F05 #052F11 #052F26
triadic
#052F11 #11052F #2F1105
tetradic
#052F11 #050E2F #2F0523 #2F2605
square
#052F11 #050E2F #2F0523 #2F2605
split-complementary
#052F11 #26052F #2F050E
monochromatic
#031C0A #031C0A #052F11 #0B6625 #119E39

Accessibility & contrast

On white

14.78
#052F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#052F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052F11
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F11#FFFFFF#000000##FFFFFF
##052F111.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0E
Deuteranopia (green-blind)
#2B2613
Tritanopia (blue-blind)
#002E28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #052f11;
/* rgb */ color: rgb(5, 47, 17);
/* oklch */ color: oklch(26.9% 0.070 148.6);
Tailwind
colors: {
  custom: {
    50: '#4c684f',
    500: '#052f11',
    950: '#000000',
  },
}
SCSS
$custom: #052f11;
$custom-light: #4c684f;
$custom-dark: #000000;
JSON
{
  "hex": "#052f11",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 17
  },
  "hsl": {
    "h": 137.143,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26868,
    "c": 0.07018,
    "h": 148.6
  },
  "luminance": 0.02106
}

Semantic roles & 50–950 ramp

primary
#052F11
secondary
#711F59
accent
#31BEF7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #052F11

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

Preview Lab → · Contrast checker → · Palette generator →

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