#052A07#052A07

#052A07 is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.0% C 0.073 H 143.9°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#052A07
RGBrgb(5, 42, 7)
HSLhsl(123, 79%, 9%)
HSVhsv(123, 88%, 16%)
CMYKcmyk(88.1%, 0%, 83.3%, 83.5%)
CIE-LABlab(13.85, -21.75, 17.00)
CIE-LCHlch(13.85, 27.61, 142.00°)
OKLaboklab(25.01% -0.0589 0.0429)
OKLCHoklch(25.01% 0.073 143.9)
XYZxyz(0.9288, 1.7034, 0.4808)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A07 #2A0528
analogous
#162A05 #052A07 #052A1A
triadic
#052A07 #07052A #2A0705
tetradic
#052A07 #05162A #2A0528 #2A1A05
square
#052A07 #05162A #2A0528 #2A1A05
split-complementary
#052A07 #1A052A #2A0516
monochromatic
#031B05 #031B05 #052A07 #0C6110 #129719

Accessibility & contrast

On white

15.66
#052A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#052A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052A07
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A07#FFFFFF#000000##FFFFFF
##052A071.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2504
Deuteranopia (green-blind)
#27220A
Tritanopia (blue-blind)
#002923
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #052a07;
/* rgb */ color: rgb(5, 42, 7);
/* oklch */ color: oklch(25.0% 0.073 143.9);
Tailwind
colors: {
  custom: {
    50: '#4b644a',
    500: '#052a07',
    950: '#000000',
  },
}
SCSS
$custom: #052a07;
$custom-light: #4b644a;
$custom-dark: #000000;
JSON
{
  "hex": "#052a07",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 123.243,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25013,
    "c": 0.07287,
    "h": 143.9
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#052A07
secondary
#6C1F68
accent
#33EBF5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #052A07

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

Preview Lab → · Contrast checker → · Palette generator →

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