#052F0A#052F0A

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

Color values

HEX#052F0A
RGBrgb(5, 47, 10)
HSLhsl(127, 81%, 10%)
HSVhsv(127, 89%, 18%)
CMYKcmyk(89.4%, 0%, 78.7%, 81.6%)
CIE-LABlab(15.94, -23.42, 18.46)
CIE-LCHlch(15.94, 29.82, 141.75°)
OKLaboklab(26.76% -0.0632 0.0445)
OKLCHoklch(26.76% 0.077 144.9)
XYZxyz(1.1338, 2.0871, 0.6302)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F0A #2F052A
analogous
#152F05 #052F0A #052F1F
triadic
#052F0A #0A052F #2F0A05
tetradic
#052F0A #05152F #2F052A #2F1F05
square
#052F0A #05152F #2F052A #2F1F05
split-complementary
#052F0A #1F052F #2F0515
monochromatic
#031C06 #031C06 #052F0A #0B6616 #119E22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##052F0A#FFFFFF#000000##FFFFFF
##052F0A1.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)
#302A06
Deuteranopia (green-blind)
#2B260D
Tritanopia (blue-blind)
#002E27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #052f0a;
/* rgb */ color: rgb(5, 47, 10);
/* oklch */ color: oklch(26.8% 0.077 144.9);
Tailwind
colors: {
  custom: {
    50: '#4c684b',
    500: '#052f0a',
    950: '#000000',
  },
}
SCSS
$custom: #052f0a;
$custom-light: #4c684b;
$custom-dark: #000000;
JSON
{
  "hex": "#052f0a",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 127.143,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26759,
    "c": 0.0773,
    "h": 144.9
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#052F0A
secondary
#711F67
accent
#31E0F7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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