#05240A#05240A

#05240A is a very dark, moderate green. Relative luminance 0.013; OKLCH L 23.0% C 0.060 H 146.5°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#05240A
RGBrgb(5, 36, 10)
HSLhsl(130, 76%, 8%)
HSVhsv(130, 86%, 14%)
CMYKcmyk(86.1%, 0%, 72.2%, 85.9%)
CIE-LABlab(11.39, -18.43, 12.46)
CIE-LCHlch(11.39, 22.24, 145.95°)
OKLaboklab(22.99% -0.0501 0.0332)
OKLCHoklch(22.99% 0.06 146.5)
XYZxyz(0.7482, 1.3159, 0.5017)
Luminance0.0132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05240A #24051F
analogous
#0F2405 #05240A #052419
triadic
#05240A #0A0524 #240A05
tetradic
#05240A #050F24 #24051F #241905
square
#05240A #050F24 #24051F #241905
split-complementary
#05240A #190524 #24050F
monochromatic
#041B07 #041B07 #05240A #0C5A19 #148F28

Accessibility & contrast

On white

16.62
#05240A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#05240A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05240A
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05240A#FFFFFF#000000##FFFFFF
##05240A1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252008
Deuteranopia (green-blind)
#211D0C
Tritanopia (blue-blind)
#00231E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #05240a;
/* rgb */ color: rgb(5, 36, 10);
/* oklch */ color: oklch(23.0% 0.060 146.5);
Tailwind
colors: {
  custom: {
    50: '#495f4b',
    500: '#05240a',
    950: '#000000',
  },
}
SCSS
$custom: #05240a;
$custom-light: #495f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#05240a",
  "rgb": {
    "r": 5,
    "g": 36,
    "b": 10
  },
  "hsl": {
    "h": 129.677,
    "s": 75.61,
    "l": 8.039
  },
  "oklch": {
    "l": 0.22987,
    "c": 0.06014,
    "h": 146.5
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#05240A
secondary
#661F5A
accent
#36D4F2
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010401
muted
#777977

Preview Lab

Preview with #05240A

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

Preview Lab → · Contrast checker → · Palette generator →

#05240A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva