#24510C#24510C

#24510C is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 38.8% C 0.109 H 137.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#24510C
RGBrgb(36, 81, 12)
HSLhsl(99, 74%, 18%)
HSVhsv(99, 85%, 32%)
CMYKcmyk(55.6%, 0%, 85.2%, 68.2%)
CIE-LABlab(30.12, -28.80, 33.07)
CIE-LCHlch(30.12, 43.85, 131.05°)
OKLaboklab(38.81% -0.0799 0.0736)
OKLCHoklch(38.81% 0.109 137.4)
XYZxyz(3.7362, 6.2862, 1.3642)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24510C #390C51
analogous
#46510C #24510C #0C5116
triadic
#24510C #0C2451 #510C24
tetradic
#24510C #0C4651 #390C51 #51160C
square
#24510C #0C4651 #390C51 #51160C
split-complementary
#24510C #160C51 #510C46
monochromatic
#0C1B04 #0C1C04 #24510C #3C8614 #53BC1C

Accessibility & contrast

On white

9.30
#24510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#24510C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24510C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24510C#FFFFFF#000000##FFFFFF
##24510C1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544900
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#214E44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #24510c;
/* rgb */ color: rgb(36, 81, 12);
/* oklch */ color: oklch(38.8% 0.109 137.4);
Tailwind
colors: {
  custom: {
    50: '#648251',
    500: '#24510c',
    950: '#000000',
  },
}
SCSS
$custom: #24510c;
$custom-light: #648251;
$custom-dark: #000000;
JSON
{
  "hex": "#24510c",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 99.13,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38806,
    "c": 0.1086,
    "h": 137.4
  },
  "luminance": 0.06286
}

Semantic roles & 50–950 ramp

primary
#24510C
secondary
#6B2C8C
accent
#37F1B0
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #24510C

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

Preview Lab → · Contrast checker → · Palette generator →

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