#052B0F#052B0F

#052B0F is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.5% C 0.066 H 148.3°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#052B0F
RGBrgb(5, 43, 15)
HSLhsl(136, 79%, 9%)
HSVhsv(136, 88%, 17%)
CMYKcmyk(88.4%, 0%, 65.1%, 83.1%)
CIE-LABlab(14.37, -20.88, 14.12)
CIE-LCHlch(14.37, 25.21, 145.93°)
OKLaboklab(25.48% -0.0562 0.0347)
OKLCHoklch(25.48% 0.066 148.3)
XYZxyz(1.0126, 1.7944, 0.7448)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052B0F #2B0521
analogous
#0E2B05 #052B0F #052B22
triadic
#052B0F #0F052B #2B0F05
tetradic
#052B0F #050E2B #2B0521 #2B2205
square
#052B0F #050E2B #2B0521 #2B2205
split-complementary
#052B0F #22052B #2B050E
monochromatic
#031B0A #031B0A #052B0F #0B6222 #129935

Accessibility & contrast

On white

15.45
#052B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#052B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052B0F
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052B0F#FFFFFF#000000##FFFFFF
##052B0F1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C260D
Deuteranopia (green-blind)
#272311
Tritanopia (blue-blind)
#002A25
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #052b0f;
/* rgb */ color: rgb(5, 43, 15);
/* oklch */ color: oklch(25.5% 0.066 148.3);
Tailwind
colors: {
  custom: {
    50: '#4b654e',
    500: '#052b0f',
    950: '#000000',
  },
}
SCSS
$custom: #052b0f;
$custom-light: #4b654e;
$custom-dark: #000000;
JSON
{
  "hex": "#052b0f",
  "rgb": {
    "r": 5,
    "g": 43,
    "b": 15
  },
  "hsl": {
    "h": 135.789,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25481,
    "c": 0.06601,
    "h": 148.3
  },
  "luminance": 0.01795
}

Semantic roles & 50–950 ramp

primary
#052B0F
secondary
#6D1F58
accent
#32C2F6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #052B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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