#05240F#05240F

#05240F is a very dark, muted green. Relative luminance 0.013; OKLCH L 23.1% C 0.054 H 150.8°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#05240F
RGBrgb(5, 36, 15)
HSLhsl(139, 76%, 8%)
HSVhsv(139, 86%, 14%)
CMYKcmyk(86.1%, 0%, 58.3%, 85.9%)
CIE-LABlab(11.47, -17.52, 10.24)
CIE-LCHlch(11.47, 20.29, 149.70°)
OKLaboklab(23.09% -0.0474 0.0265)
OKLCHoklch(23.09% 0.054 150.8)
XYZxyz(0.7796, 1.3284, 0.6672)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05240F #24051A
analogous
#0A2405 #05240F #05241E
triadic
#05240F #0F0524 #240F05
tetradic
#05240F #050A24 #24051A #241E05
square
#05240F #050A24 #24051A #241E05
split-complementary
#05240F #1E0524 #24050A
monochromatic
#041B0B #041B0B #05240F #0C5A25 #148F3C

Accessibility & contrast

On white

16.59
#05240F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#05240F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05240F
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05240F#FFFFFF#000000##FFFFFF
##05240F1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200D
Deuteranopia (green-blind)
#201D10
Tritanopia (blue-blind)
#00231F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #05240f;
/* rgb */ color: rgb(5, 36, 15);
/* oklch */ color: oklch(23.1% 0.054 150.8);
Tailwind
colors: {
  custom: {
    50: '#495f4e',
    500: '#05240f',
    950: '#000000',
  },
}
SCSS
$custom: #05240f;
$custom-light: #495f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#05240f",
  "rgb": {
    "r": 5,
    "g": 36,
    "b": 15
  },
  "hsl": {
    "h": 139.355,
    "s": 75.61,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23088,
    "c": 0.05426,
    "h": 150.8
  },
  "luminance": 0.01329
}

Semantic roles & 50–950 ramp

primary
#05240F
secondary
#661F4F
accent
#36B5F2
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010401
muted
#777977

Preview Lab

Preview with #05240F

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

Preview Lab → · Contrast checker → · Palette generator →

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