#052F05#052F05

#052F05 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.7% C 0.082 H 142.8°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#052F05
RGBrgb(5, 47, 5)
HSLhsl(120, 81%, 10%)
HSVhsv(120, 89%, 18%)
CMYKcmyk(89.4%, 0%, 89.4%, 81.6%)
CIE-LABlab(15.88, -24.10, 20.43)
CIE-LCHlch(15.88, 31.60, 139.72°)
OKLaboklab(26.7% -0.0654 0.0496)
OKLCHoklch(26.7% 0.082 142.8)
XYZxyz(1.1064, 2.0761, 0.4860)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F05 #2F052F
analogous
#1A2F05 #052F05 #052F1A
triadic
#052F05 #05052F #2F0505
tetradic
#052F05 #051A2F #2F052F #2F1A05
square
#052F05 #051A2F #2F052F #2F1A05
split-complementary
#052F05 #1A052F #2F051A
monochromatic
#031C03 #031C03 #052F05 #0B660B #119E11

Accessibility & contrast

On white

14.84
#052F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052F05
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F05#FFFFFF#000000##FFFFFF
##052F051.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A01
Deuteranopia (green-blind)
#2C2609
Tritanopia (blue-blind)
#002D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #052f05;
/* rgb */ color: rgb(5, 47, 5);
/* oklch */ color: oklch(26.7% 0.082 142.8);
Tailwind
colors: {
  custom: {
    50: '#4c6849',
    500: '#052f05',
    950: '#000000',
  },
}
SCSS
$custom: #052f05;
$custom-light: #4c6849;
$custom-dark: #000000;
JSON
{
  "hex": "#052f05",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 5
  },
  "hsl": {
    "h": 120,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26695,
    "c": 0.0821,
    "h": 142.8
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#052F05
secondary
#711F71
accent
#31F7F7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052F05

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

Preview Lab → · Contrast checker → · Palette generator →

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