#052F02#052F02

#052F02 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.7% C 0.085 H 141.7°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#052F02
RGBrgb(5, 47, 2)
HSLhsl(116, 92%, 10%)
HSVhsv(116, 96%, 18%)
CMYKcmyk(89.4%, 0%, 95.7%, 81.6%)
CIE-LABlab(15.85, -24.52, 21.61)
CIE-LCHlch(15.85, 32.69, 138.61°)
OKLaboklab(26.66% -0.0669 0.0529)
OKLCHoklch(26.66% 0.085 141.7)
XYZxyz(1.0900, 2.0696, 0.3994)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F02 #2C022F
analogous
#1C2F02 #052F02 #022F16
triadic
#052F02 #02052F #2F0205
tetradic
#052F02 #021C2F #2C022F #2F1602
square
#052F02 #021C2F #2C022F #2F1602
split-complementary
#052F02 #16022F #2F021C
monochromatic
#031D01 #031D01 #052F02 #0B6A04 #11A407

Accessibility & contrast

On white

14.85
#052F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#052F02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052F02
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F02#FFFFFF#000000##FFFFFF
##052F021.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2C2606
Tritanopia (blue-blind)
#002D27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #052f02;
/* rgb */ color: rgb(5, 47, 2);
/* oklch */ color: oklch(26.7% 0.085 141.7);
Tailwind
colors: {
  custom: {
    50: '#4c6848',
    500: '#052f02',
    950: '#000000',
  },
}
SCSS
$custom: #052f02;
$custom-light: #4c6848;
$custom-dark: #000000;
JSON
{
  "hex": "#052f02",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 116,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26656,
    "c": 0.08522,
    "h": 141.7
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#052F02
secondary
#6E1974
accent
#29FFF1
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77

Preview Lab

Preview with #052F02

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

Preview Lab → · Contrast checker → · Palette generator →

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