#052C07#052C07

#052C07 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.7% C 0.076 H 143.8°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#052C07
RGBrgb(5, 44, 7)
HSLhsl(123, 80%, 10%)
HSVhsv(123, 89%, 17%)
CMYKcmyk(88.6%, 0%, 84.1%, 82.7%)
CIE-LABlab(14.67, -22.59, 18.07)
CIE-LCHlch(14.67, 28.93, 141.34°)
OKLaboklab(25.7% -0.0612 0.0448)
OKLCHoklch(25.7% 0.076 143.8)
XYZxyz(1.0016, 1.8489, 0.5051)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052C07 #2C052A
analogous
#172C05 #052C07 #052C1B
triadic
#052C07 #07052C #2C0705
tetradic
#052C07 #05172C #2C052A #2C1B05
square
#052C07 #05172C #2C052A #2C1B05
split-complementary
#052C07 #1B052C #2C0517
monochromatic
#031B04 #031B04 #052C07 #0B6310 #119A18

Accessibility & contrast

On white

15.33
#052C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#052C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052C07
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052C07#FFFFFF#000000##FFFFFF
##052C071.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2703
Deuteranopia (green-blind)
#29240A
Tritanopia (blue-blind)
#002A24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #052c07;
/* rgb */ color: rgb(5, 44, 7);
/* oklch */ color: oklch(25.7% 0.076 143.8);
Tailwind
colors: {
  custom: {
    50: '#4b664a',
    500: '#052c07',
    950: '#000000',
  },
}
SCSS
$custom: #052c07;
$custom-light: #4b664a;
$custom-dark: #000000;
JSON
{
  "hex": "#052c07",
  "rgb": {
    "r": 5,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 123.077,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.25698,
    "c": 0.07581,
    "h": 143.8
  },
  "luminance": 0.01849
}

Semantic roles & 50–950 ramp

primary
#052C07
secondary
#6E1F6A
accent
#32ECF6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052C07

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

Preview Lab → · Contrast checker → · Palette generator →

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