#24540F#24540F

#24540F is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.7% C 0.111 H 138.2°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#24540F
RGBrgb(36, 84, 15)
HSLhsl(102, 70%, 19%)
HSVhsv(102, 82%, 33%)
CMYKcmyk(57.1%, 0%, 82.1%, 67.1%)
CIE-LABlab(31.23, -29.89, 33.01)
CIE-LCHlch(31.23, 44.54, 132.16°)
OKLaboklab(39.72% -0.0826 0.074)
OKLCHoklch(39.72% 0.111 138.2)
XYZxyz(3.9840, 6.7499, 1.5448)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24540F #3F0F54
analogous
#47540F #24540F #0F541D
triadic
#24540F #0F2454 #540F24
tetradic
#24540F #0F4754 #3F0F54 #541D0F
square
#24540F #0F4754 #3F0F54 #541D0F
split-complementary
#24540F #1D0F54 #540F47
monochromatic
#0B1A05 #0E2006 #24540F #3A8818 #51BC22

Accessibility & contrast

On white

8.94
#24540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#24540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24540F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24540F#FFFFFF#000000##FFFFFF
##24540F1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C02
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#205147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #24540f;
/* rgb */ color: rgb(36, 84, 15);
/* oklch */ color: oklch(39.7% 0.111 138.2);
Tailwind
colors: {
  custom: {
    50: '#658553',
    500: '#24540f',
    950: '#000000',
  },
}
SCSS
$custom: #24540f;
$custom-light: #658553;
$custom-dark: #000000;
JSON
{
  "hex": "#24540f",
  "rgb": {
    "r": 36,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 101.739,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39724,
    "c": 0.11089,
    "h": 138.2
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#24540F
secondary
#72318E
accent
#3BEDB7
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #24540F

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

Preview Lab → · Contrast checker → · Palette generator →

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