#052B02#052B02

#052B02 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.3% C 0.080 H 141.5°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#052B02
RGBrgb(5, 43, 2)
HSLhsl(116, 91%, 9%)
HSVhsv(116, 95%, 17%)
CMYKcmyk(88.4%, 0%, 95.3%, 83.1%)
CIE-LABlab(14.20, -22.94, 19.49)
CIE-LCHlch(14.20, 30.10, 139.64°)
OKLaboklab(25.28% -0.0626 0.0498)
OKLCHoklch(25.28% 0.08 141.5)
XYZxyz(0.9374, 1.7643, 0.3486)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052B02 #28022B
analogous
#1A2B02 #052B02 #022B14
triadic
#052B02 #02052B #2B0205
tetradic
#052B02 #021A2B #28022B #2B1402
square
#052B02 #021A2B #28022B #2B1402
split-complementary
#052B02 #14022B #2B021A
monochromatic
#031D01 #031D01 #052B02 #0C6505 #13A007

Accessibility & contrast

On white

15.52
#052B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#052B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052B02
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052B02#FFFFFF#000000##FFFFFF
##052B021.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#282305
Tritanopia (blue-blind)
#002923
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #052b02;
/* rgb */ color: rgb(5, 43, 2);
/* oklch */ color: oklch(25.3% 0.080 141.5);
Tailwind
colors: {
  custom: {
    50: '#4b6547',
    500: '#052b02',
    950: '#000000',
  },
}
SCSS
$custom: #052b02;
$custom-light: #4b6547;
$custom-dark: #000000;
JSON
{
  "hex": "#052b02",
  "rgb": {
    "r": 5,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 115.61,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25284,
    "c": 0.07996,
    "h": 141.5
  },
  "luminance": 0.01764
}

Semantic roles & 50–950 ramp

primary
#052B02
secondary
#6A1970
accent
#29FFEF
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010500
muted
#777A77

Preview Lab

Preview with #052B02

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

Preview Lab → · Contrast checker → · Palette generator →

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