#052F0F#052F0F

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

Color values

HEX#052F0F
RGBrgb(5, 47, 15)
HSLhsl(134, 81%, 10%)
HSVhsv(134, 89%, 18%)
CMYKcmyk(89.4%, 0%, 68.1%, 81.6%)
CIE-LABlab(16.00, -22.65, 16.21)
CIE-LCHlch(16.00, 27.85, 144.41°)
OKLaboklab(26.83% -0.0609 0.039)
OKLCHoklch(26.83% 0.072 147.4)
XYZxyz(1.1652, 2.0996, 0.7957)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F0F #2F0525
analogous
#102F05 #052F0F #052F24
triadic
#052F0F #0F052F #2F0F05
tetradic
#052F0F #05102F #2F0525 #2F2405
square
#052F0F #05102F #2F0525 #2F2405
split-complementary
#052F0F #24052F #2F0510
monochromatic
#031C09 #031C09 #052F0F #0B6621 #119E32

Accessibility & contrast

On white

14.79
#052F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052F0F
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F0F#FFFFFF#000000##FFFFFF
##052F0F1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #052f0f;
/* rgb */ color: rgb(5, 47, 15);
/* oklch */ color: oklch(26.8% 0.072 147.4);
Tailwind
colors: {
  custom: {
    50: '#4c684e',
    500: '#052f0f',
    950: '#000000',
  },
}
SCSS
$custom: #052f0f;
$custom-light: #4c684e;
$custom-dark: #000000;
JSON
{
  "hex": "#052f0f",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 134.286,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26833,
    "c": 0.07234,
    "h": 147.4
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#052F0F
secondary
#711F5D
accent
#31C8F7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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