#052F09#052F09

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

Color values

HEX#052F09
RGBrgb(5, 47, 9)
HSLhsl(126, 81%, 10%)
HSVhsv(126, 89%, 18%)
CMYKcmyk(89.4%, 0%, 80.9%, 81.6%)
CIE-LABlab(15.93, -23.56, 18.86)
CIE-LCHlch(15.93, 30.17, 141.32°)
OKLaboklab(26.75% -0.0636 0.0455)
OKLCHoklch(26.75% 0.078 144.5)
XYZxyz(1.1283, 2.0849, 0.6013)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F09 #2F052B
analogous
#162F05 #052F09 #052F1E
triadic
#052F09 #09052F #2F0905
tetradic
#052F09 #05162F #2F052B #2F1E05
square
#052F09 #05162F #2F052B #2F1E05
split-complementary
#052F09 #1E052F #2F0516
monochromatic
#031C05 #031C05 #052F09 #0B6614 #119E1E

Accessibility & contrast

On white

14.82
#052F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052F09
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F09#FFFFFF#000000##FFFFFF
##052F091.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #052f09;
/* rgb */ color: rgb(5, 47, 9);
/* oklch */ color: oklch(26.7% 0.078 144.5);
Tailwind
colors: {
  custom: {
    50: '#4c684b',
    500: '#052f09',
    950: '#000000',
  },
}
SCSS
$custom: #052f09;
$custom-light: #4c684b;
$custom-dark: #000000;
JSON
{
  "hex": "#052f09",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 9
  },
  "hsl": {
    "h": 125.714,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26746,
    "c": 0.07822,
    "h": 144.5
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#052F09
secondary
#711F69
accent
#31E4F7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052F09

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

Preview Lab → · Contrast checker → · Palette generator →

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