#052B07#052B07

#052B07 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.4% C 0.074 H 143.9°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#052B07
RGBrgb(5, 43, 7)
HSLhsl(123, 79%, 9%)
HSVhsv(123, 88%, 17%)
CMYKcmyk(88.4%, 0%, 83.7%, 83.1%)
CIE-LABlab(14.26, -22.17, 17.54)
CIE-LCHlch(14.26, 28.27, 141.66°)
OKLaboklab(25.36% -0.06 0.0439)
OKLCHoklch(25.36% 0.074 143.9)
XYZxyz(0.9648, 1.7752, 0.4928)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052B07 #2B0529
analogous
#162B05 #052B07 #052B1A
triadic
#052B07 #07052B #2B0705
tetradic
#052B07 #05162B #2B0529 #2B1A05
square
#052B07 #05162B #2B0529 #2B1A05
split-complementary
#052B07 #1A052B #2B0516
monochromatic
#031B04 #031B04 #052B07 #0B6210 #129919

Accessibility & contrast

On white

15.50
#052B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052B07
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052B07#FFFFFF#000000##FFFFFF
##052B071.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2604
Deuteranopia (green-blind)
#28230A
Tritanopia (blue-blind)
#002A24
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #052b07;
/* rgb */ color: rgb(5, 43, 7);
/* oklch */ color: oklch(25.4% 0.074 143.9);
Tailwind
colors: {
  custom: {
    50: '#4b654a',
    500: '#052b07',
    950: '#000000',
  },
}
SCSS
$custom: #052b07;
$custom-light: #4b654a;
$custom-dark: #000000;
JSON
{
  "hex": "#052b07",
  "rgb": {
    "r": 5,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 123.158,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25356,
    "c": 0.07435,
    "h": 143.9
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#052B07
secondary
#6D1F69
accent
#32EBF6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #052B07

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

Preview Lab → · Contrast checker → · Palette generator →

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