#052F12#052F12

#052F12 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.9% C 0.069 H 149.3°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#052F12
RGBrgb(5, 47, 18)
HSLhsl(139, 81%, 10%)
HSVhsv(139, 89%, 18%)
CMYKcmyk(89.4%, 0%, 61.7%, 81.6%)
CIE-LABlab(16.05, -22.10, 14.56)
CIE-LCHlch(16.05, 26.46, 146.62°)
OKLaboklab(26.89% -0.0594 0.0353)
OKLCHoklch(26.89% 0.069 149.3)
XYZxyz(1.1882, 2.1088, 0.9166)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F12 #2F0522
analogous
#0D2F05 #052F12 #052F27
triadic
#052F12 #12052F #2F1205
tetradic
#052F12 #050D2F #2F0522 #2F2705
square
#052F12 #050D2F #2F0522 #2F2705
split-complementary
#052F12 #27052F #2F050D
monochromatic
#031C0B #031C0B #052F12 #0B6627 #119E3C

Accessibility & contrast

On white

14.77
#052F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052F12
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F12#FFFFFF#000000##FFFFFF
##052F121.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A10
Deuteranopia (green-blind)
#2A2614
Tritanopia (blue-blind)
#002E28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #052f12;
/* rgb */ color: rgb(5, 47, 18);
/* oklch */ color: oklch(26.9% 0.069 149.3);
Tailwind
colors: {
  custom: {
    50: '#4c6850',
    500: '#052f12',
    950: '#000000',
  },
}
SCSS
$custom: #052f12;
$custom-light: #4c6850;
$custom-dark: #000000;
JSON
{
  "hex": "#052f12",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 138.571,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26887,
    "c": 0.06907,
    "h": 149.3
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#052F12
secondary
#711F57
accent
#31BAF7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #052F12

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

Preview Lab → · Contrast checker → · Palette generator →

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