#052F03#052F03

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

Color values

HEX#052F03
RGBrgb(5, 47, 3)
HSLhsl(117, 88%, 10%)
HSVhsv(117, 94%, 18%)
CMYKcmyk(89.4%, 0%, 93.6%, 81.6%)
CIE-LABlab(15.86, -24.38, 21.22)
CIE-LCHlch(15.86, 32.32, 138.97°)
OKLaboklab(26.67% -0.0664 0.0518)
OKLCHoklch(26.67% 0.084 142.1)
XYZxyz(1.0955, 2.0717, 0.4283)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F03 #2D032F
analogous
#1B2F03 #052F03 #032F17
triadic
#052F03 #03052F #2F0305
tetradic
#052F03 #031B2F #2D032F #2F1703
square
#052F03 #031B2F #2D032F #2F1703
split-complementary
#052F03 #17032F #2F031B
monochromatic
#031D02 #031D02 #052F03 #0B6907 #11A20A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##052F03#FFFFFF#000000##FFFFFF
##052F031.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)
#2C2607
Tritanopia (blue-blind)
#002D27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #052f03;
/* rgb */ color: rgb(5, 47, 3);
/* oklch */ color: oklch(26.7% 0.084 142.1);
Tailwind
colors: {
  custom: {
    50: '#4c6848',
    500: '#052f03',
    950: '#000000',
  },
}
SCSS
$custom: #052f03;
$custom-light: #4c6848;
$custom-dark: #000000;
JSON
{
  "hex": "#052f03",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 117.273,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26669,
    "c": 0.08416,
    "h": 142.1
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#052F03
secondary
#6F1B73
accent
#2AFEF4
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77

Preview Lab

Preview with #052F03

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

Preview Lab → · Contrast checker → · Palette generator →

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