#24520C#24520C

#24520C is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.1% C 0.110 H 137.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#24520C
RGBrgb(36, 82, 12)
HSLhsl(99, 74%, 18%)
HSVhsv(99, 85%, 32%)
CMYKcmyk(56.1%, 0%, 85.4%, 67.8%)
CIE-LABlab(30.49, -29.24, 33.42)
CIE-LCHlch(30.49, 44.40, 131.18°)
OKLaboklab(39.11% -0.0811 0.0743)
OKLCHoklch(39.11% 0.11 137.5)
XYZxyz(3.8111, 6.4359, 1.3892)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24520C #3A0C52
analogous
#47520C #24520C #0C5217
triadic
#24520C #0C2452 #520C24
tetradic
#24520C #0C4752 #3A0C52 #52170C
square
#24520C #0C4752 #3A0C52 #52170C
split-complementary
#24520C #170C52 #520C47
monochromatic
#0C1B04 #0D1D04 #24520C #3B8714 #53BD1C

Accessibility & contrast

On white

9.18
#24520C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#24520C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24520C
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24520C#FFFFFF#000000##FFFFFF
##24520C1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#4F4614
Tritanopia (blue-blind)
#214F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #24520c;
/* rgb */ color: rgb(36, 82, 12);
/* oklch */ color: oklch(39.1% 0.110 137.5);
Tailwind
colors: {
  custom: {
    50: '#658351',
    500: '#24520c',
    950: '#000000',
  },
}
SCSS
$custom: #24520c;
$custom-light: #658351;
$custom-dark: #000000;
JSON
{
  "hex": "#24520c",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 12
  },
  "hsl": {
    "h": 99.429,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39105,
    "c": 0.10996,
    "h": 137.5
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#24520C
secondary
#6C2C8D
accent
#37F1B1
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #24520C

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

Preview Lab → · Contrast checker → · Palette generator →

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