#052E02#052E02

#052E02 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.3% C 0.084 H 141.6°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#052E02
RGBrgb(5, 46, 2)
HSLhsl(116, 92%, 9%)
HSVhsv(116, 96%, 18%)
CMYKcmyk(89.1%, 0%, 95.7%, 82%)
CIE-LABlab(15.44, -24.13, 21.09)
CIE-LCHlch(15.44, 32.05, 138.85°)
OKLaboklab(26.32% -0.0658 0.0521)
OKLCHoklch(26.32% 0.084 141.6)
XYZxyz(1.0505, 1.9905, 0.3863)
Luminance0.0199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052E02 #2B022E
analogous
#1B2E02 #052E02 #022E15
triadic
#052E02 #02052E #2E0205
tetradic
#052E02 #021B2E #2B022E #2E1502
square
#052E02 #021B2E #2B022E #2E1502
split-complementary
#052E02 #15022E #2E021B
monochromatic
#031D01 #031D01 #052E02 #0B6905 #12A307

Accessibility & contrast

On white

15.02
#052E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#052E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052E02
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052E02#FFFFFF#000000##FFFFFF
##052E021.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2900
Deuteranopia (green-blind)
#2B2506
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #052e02;
/* rgb */ color: rgb(5, 46, 2);
/* oklch */ color: oklch(26.3% 0.084 141.6);
Tailwind
colors: {
  custom: {
    50: '#4c6747',
    500: '#052e02',
    950: '#000000',
  },
}
SCSS
$custom: #052e02;
$custom-light: #4c6747;
$custom-dark: #000000;
JSON
{
  "hex": "#052e02",
  "rgb": {
    "r": 5,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 115.909,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26315,
    "c": 0.08392,
    "h": 141.6
  },
  "luminance": 0.01991
}

Semantic roles & 50–950 ramp

primary
#052E02
secondary
#6D1973
accent
#29FFF0
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77

Preview Lab

Preview with #052E02

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

Preview Lab → · Contrast checker → · Palette generator →

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