#052902#052902

#052902 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.6% C 0.077 H 141.4°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#052902
RGBrgb(5, 41, 2)
HSLhsl(115, 91%, 8%)
HSVhsv(115, 95%, 16%)
CMYKcmyk(87.8%, 0%, 95.1%, 83.9%)
CIE-LABlab(13.37, -22.13, 18.40)
CIE-LCHlch(13.37, 28.78, 140.26°)
OKLaboklab(24.59% -0.0604 0.0482)
OKLCHoklch(24.59% 0.077 141.4)
XYZxyz(0.8664, 1.6224, 0.3249)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052902 #260229
analogous
#182902 #052902 #022912
triadic
#052902 #020529 #290205
tetradic
#052902 #021829 #260229 #291202
square
#052902 #021829 #260229 #291202
split-complementary
#052902 #120229 #290218
monochromatic
#041D01 #041D01 #052902 #0C6305 #139E08

Accessibility & contrast

On white

15.85
#052902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#052902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052902
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052902#FFFFFF#000000##FFFFFF
##0529021.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#262105
Tritanopia (blue-blind)
#002721
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #052902;
/* rgb */ color: rgb(5, 41, 2);
/* oklch */ color: oklch(24.6% 0.077 141.4);
Tailwind
colors: {
  custom: {
    50: '#4a6347',
    500: '#052902',
    950: '#000000',
  },
}
SCSS
$custom: #052902;
$custom-light: #4a6347;
$custom-dark: #000000;
JSON
{
  "hex": "#052902",
  "rgb": {
    "r": 5,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 115.385,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.24593,
    "c": 0.07726,
    "h": 141.4
  },
  "luminance": 0.01623
}

Semantic roles & 50–950 ramp

primary
#052902
secondary
#68196E
accent
#29FFEF
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #052902

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

Preview Lab → · Contrast checker → · Palette generator →

#052902 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva