#05240C#05240C

#05240C is a very dark, muted green. Relative luminance 0.013; OKLCH L 23.0% C 0.058 H 148.0°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#05240C
RGBrgb(5, 36, 12)
HSLhsl(134, 76%, 8%)
HSVhsv(134, 86%, 14%)
CMYKcmyk(86.1%, 0%, 66.7%, 85.9%)
CIE-LABlab(11.42, -18.09, 11.64)
CIE-LCHlch(11.42, 21.51, 147.24°)
OKLaboklab(23.02% -0.0491 0.0307)
OKLCHoklch(23.02% 0.058 148)
XYZxyz(0.7598, 1.3205, 0.5626)
Luminance0.0132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05240C #24051D
analogous
#0D2405 #05240C #05241B
triadic
#05240C #0C0524 #240C05
tetradic
#05240C #050D24 #24051D #241B05
square
#05240C #050D24 #24051D #241B05
split-complementary
#05240C #1B0524 #24050D
monochromatic
#041B09 #041B09 #05240C #0C5A1E #148F30

Accessibility & contrast

On white

16.61
#05240C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05240C
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05240C#FFFFFF#000000##FFFFFF
##05240C1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200A
Deuteranopia (green-blind)
#211D0E
Tritanopia (blue-blind)
#00231E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #05240c;
/* rgb */ color: rgb(5, 36, 12);
/* oklch */ color: oklch(23.0% 0.058 148.0);
Tailwind
colors: {
  custom: {
    50: '#495f4c',
    500: '#05240c',
    950: '#000000',
  },
}
SCSS
$custom: #05240c;
$custom-light: #495f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#05240c",
  "rgb": {
    "r": 5,
    "g": 36,
    "b": 12
  },
  "hsl": {
    "h": 133.548,
    "s": 75.61,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23024,
    "c": 0.05785,
    "h": 148
  },
  "luminance": 0.01321
}

Semantic roles & 50–950 ramp

primary
#05240C
secondary
#661F56
accent
#36C8F2
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010401
muted
#777977

Preview Lab

Preview with #05240C

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

Preview Lab → · Contrast checker → · Palette generator →

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