#052908#052908

#052908 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.7% C 0.070 H 144.5°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#052908
RGBrgb(5, 41, 8)
HSLhsl(125, 78%, 9%)
HSVhsv(125, 88%, 16%)
CMYKcmyk(87.8%, 0%, 80.5%, 83.9%)
CIE-LABlab(13.45, -21.17, 16.06)
CIE-LCHlch(13.45, 26.57, 142.81°)
OKLaboklab(24.68% -0.0572 0.0408)
OKLCHoklch(24.68% 0.07 144.5)
XYZxyz(0.8993, 1.6356, 0.4980)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052908 #290526
analogous
#142905 #052908 #05291A
triadic
#052908 #080529 #290805
tetradic
#052908 #051429 #290526 #291A05
square
#052908 #051429 #290526 #291A05
split-complementary
#052908 #1A0529 #290514
monochromatic
#031B05 #031B05 #052908 #0C6013 #12961D

Accessibility & contrast

On white

15.82
#052908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#052908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052908
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052908#FFFFFF#000000##FFFFFF
##0529081.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2405
Deuteranopia (green-blind)
#26210B
Tritanopia (blue-blind)
#002822
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #052908;
/* rgb */ color: rgb(5, 41, 8);
/* oklch */ color: oklch(24.7% 0.070 144.5);
Tailwind
colors: {
  custom: {
    50: '#4a634a',
    500: '#052908',
    950: '#000000',
  },
}
SCSS
$custom: #052908;
$custom-light: #4a634a;
$custom-dark: #000000;
JSON
{
  "hex": "#052908",
  "rgb": {
    "r": 5,
    "g": 41,
    "b": 8
  },
  "hsl": {
    "h": 125,
    "s": 78.261,
    "l": 9.02
  },
  "oklch": {
    "l": 0.24684,
    "c": 0.07029,
    "h": 144.5
  },
  "luminance": 0.01636
}

Semantic roles & 50–950 ramp

primary
#052908
secondary
#6B1F64
accent
#33E5F5
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #052908

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

Preview Lab → · Contrast checker → · Palette generator →

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