#052F0C#052F0C

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

Color values

HEX#052F0C
RGBrgb(5, 47, 12)
HSLhsl(130, 81%, 10%)
HSVhsv(130, 89%, 18%)
CMYKcmyk(89.4%, 0%, 74.5%, 81.6%)
CIE-LABlab(15.96, -23.13, 17.63)
CIE-LCHlch(15.96, 29.09, 142.68°)
OKLaboklab(26.79% -0.0624 0.0424)
OKLCHoklch(26.79% 0.075 145.8)
XYZxyz(1.1454, 2.0917, 0.6911)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F0C #2F0528
analogous
#132F05 #052F0C #052F21
triadic
#052F0C #0C052F #2F0C05
tetradic
#052F0C #05132F #2F0528 #2F2105
square
#052F0C #05132F #2F0528 #2F2105
split-complementary
#052F0C #21052F #2F0513
monochromatic
#031C07 #031C07 #052F0C #0B661A #119E28

Accessibility & contrast

On white

14.81
#052F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052F0C
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F0C#FFFFFF#000000##FFFFFF
##052F0C1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #052f0c;
/* rgb */ color: rgb(5, 47, 12);
/* oklch */ color: oklch(26.8% 0.075 145.8);
Tailwind
colors: {
  custom: {
    50: '#4c684c',
    500: '#052f0c',
    950: '#000000',
  },
}
SCSS
$custom: #052f0c;
$custom-light: #4c684c;
$custom-dark: #000000;
JSON
{
  "hex": "#052f0c",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 130,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26787,
    "c": 0.07541,
    "h": 145.8
  },
  "luminance": 0.02092
}

Semantic roles & 50–950 ramp

primary
#052F0C
secondary
#711F63
accent
#31D6F7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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