#052F0B#052F0B

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

Color values

HEX#052F0B
RGBrgb(5, 47, 11)
HSLhsl(129, 81%, 10%)
HSVhsv(129, 89%, 18%)
CMYKcmyk(89.4%, 0%, 76.6%, 81.6%)
CIE-LABlab(15.95, -23.28, 18.06)
CIE-LCHlch(15.95, 29.46, 142.19°)
OKLaboklab(26.77% -0.0628 0.0435)
OKLCHoklch(26.77% 0.076 145.3)
XYZxyz(1.1394, 2.0893, 0.6598)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F0B #2F0529
analogous
#142F05 #052F0B #052F20
triadic
#052F0B #0B052F #2F0B05
tetradic
#052F0B #05142F #2F0529 #2F2005
square
#052F0B #05142F #2F0529 #2F2005
split-complementary
#052F0B #20052F #2F0514
monochromatic
#031C06 #031C06 #052F0B #0B6618 #119E25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##052F0B#FFFFFF#000000##FFFFFF
##052F0B1.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)
#302A07
Deuteranopia (green-blind)
#2B260E
Tritanopia (blue-blind)
#002E27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #052f0b;
/* rgb */ color: rgb(5, 47, 11);
/* oklch */ color: oklch(26.8% 0.076 145.3);
Tailwind
colors: {
  custom: {
    50: '#4c684c',
    500: '#052f0b',
    950: '#000000',
  },
}
SCSS
$custom: #052f0b;
$custom-light: #4c684c;
$custom-dark: #000000;
JSON
{
  "hex": "#052f0b",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 128.571,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26773,
    "c": 0.07637,
    "h": 145.3
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#052F0B
secondary
#711F65
accent
#31DBF7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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