#24500C#24500C

#24500C is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.107 H 137.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#24500C
RGBrgb(36, 80, 12)
HSLhsl(99, 74%, 18%)
HSVhsv(99, 85%, 31%)
CMYKcmyk(55%, 0%, 85%, 68.6%)
CIE-LABlab(29.76, -28.36, 32.73)
CIE-LCHlch(29.76, 43.30, 130.91°)
OKLaboklab(38.51% -0.0787 0.0728)
OKLCHoklch(38.51% 0.107 137.2)
XYZxyz(3.6625, 6.1387, 1.3396)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24500C #380C50
analogous
#46500C #24500C #0C5016
triadic
#24500C #0C2450 #500C24
tetradic
#24500C #0C4650 #380C50 #50160C
square
#24500C #0C4650 #380C50 #50160C
split-complementary
#24500C #160C50 #500C46
monochromatic
#0C1B04 #0C1B04 #24500C #3C8514 #54BA1C

Accessibility & contrast

On white

9.43
#24500C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#24500C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24500C
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24500C#FFFFFF#000000##FFFFFF
##24500C1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#4D4514
Tritanopia (blue-blind)
#214D43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #24500c;
/* rgb */ color: rgb(36, 80, 12);
/* oklch */ color: oklch(38.5% 0.107 137.2);
Tailwind
colors: {
  custom: {
    50: '#648151',
    500: '#24500c',
    950: '#000000',
  },
}
SCSS
$custom: #24500c;
$custom-light: #648151;
$custom-dark: #000000;
JSON
{
  "hex": "#24500c",
  "rgb": {
    "r": 36,
    "g": 80,
    "b": 12
  },
  "hsl": {
    "h": 98.824,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38507,
    "c": 0.10724,
    "h": 137.2
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#24500C
secondary
#6A2C8B
accent
#37F1AF
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #24500C

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

Preview Lab → · Contrast checker → · Palette generator →

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