#24540C#24540C

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

Color values

HEX#24540C
RGBrgb(36, 84, 12)
HSLhsl(100, 75%, 19%)
HSVhsv(100, 86%, 33%)
CMYKcmyk(57.1%, 0%, 85.7%, 67.1%)
CIE-LABlab(31.21, -30.11, 34.10)
CIE-LCHlch(31.21, 45.49, 131.44°)
OKLaboklab(39.7% -0.0834 0.0757)
OKLCHoklch(39.7% 0.113 137.8)
XYZxyz(3.9641, 6.7420, 1.4402)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24540C #3C0C54
analogous
#48540C #24540C #0C5418
triadic
#24540C #0C2454 #540C24
tetradic
#24540C #0C4854 #3C0C54 #54180C
square
#24540C #0C4854 #3C0C54 #54180C
split-complementary
#24540C #180C54 #540C48
monochromatic
#0B1B04 #0D1E04 #24540C #3B8A14 #52BF1B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24540C#FFFFFF#000000##FFFFFF
##24540C1.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)
#574C00
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#205147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #24540c;
/* rgb */ color: rgb(36, 84, 12);
/* oklch */ color: oklch(39.7% 0.113 137.8);
Tailwind
colors: {
  custom: {
    50: '#658552',
    500: '#24540c',
    950: '#000000',
  },
}
SCSS
$custom: #24540c;
$custom-light: #658552;
$custom-dark: #000000;
JSON
{
  "hex": "#24540c",
  "rgb": {
    "r": 36,
    "g": 84,
    "b": 12
  },
  "hsl": {
    "h": 100,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39703,
    "c": 0.11265,
    "h": 137.8
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#24540C
secondary
#6E2D8F
accent
#36F2B3
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #24540C

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

Preview Lab → · Contrast checker → · Palette generator →

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