#052F15#052F15

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

Color values

HEX#052F15
RGBrgb(5, 47, 21)
HSLhsl(143, 81%, 10%)
HSVhsv(143, 89%, 18%)
CMYKcmyk(89.4%, 0%, 55.3%, 81.6%)
CIE-LABlab(16.10, -21.48, 12.72)
CIE-LCHlch(16.10, 24.96, 149.37°)
OKLaboklab(26.95% -0.0577 0.0312)
OKLCHoklch(26.95% 0.066 151.6)
XYZxyz(1.2144, 2.1193, 1.0544)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F15 #2F051F
analogous
#0A2F05 #052F15 #052F2A
triadic
#052F15 #15052F #2F1505
tetradic
#052F15 #050A2F #2F051F #2F2A05
square
#052F15 #050A2F #2F051F #2F2A05
split-complementary
#052F15 #2A052F #2F050A
monochromatic
#031C0C #031C0C #052F15 #0B662E #119E46

Accessibility & contrast

On white

14.75
#052F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052F15
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F15#FFFFFF#000000##FFFFFF
##052F151.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A13
Deuteranopia (green-blind)
#2A2717
Tritanopia (blue-blind)
#002E29
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #052f15;
/* rgb */ color: rgb(5, 47, 21);
/* oklch */ color: oklch(26.9% 0.066 151.6);
Tailwind
colors: {
  custom: {
    50: '#4c6852',
    500: '#052f15',
    950: '#000000',
  },
}
SCSS
$custom: #052f15;
$custom-light: #4c6852;
$custom-dark: #000000;
JSON
{
  "hex": "#052f15",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 21
  },
  "hsl": {
    "h": 142.857,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26948,
    "c": 0.06565,
    "h": 151.6
  },
  "luminance": 0.02119
}

Semantic roles & 50–950 ramp

primary
#052F15
secondary
#711F52
accent
#31ACF7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #052F15

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

Preview Lab → · Contrast checker → · Palette generator →

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