#24520B#24520B

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

Color values

HEX#24520B
RGBrgb(36, 82, 11)
HSLhsl(99, 76%, 18%)
HSVhsv(99, 87%, 32%)
CMYKcmyk(56.1%, 0%, 86.6%, 67.8%)
CIE-LABlab(30.48, -29.30, 33.76)
CIE-LCHlch(30.48, 44.70, 130.96°)
OKLaboklab(39.1% -0.0813 0.0748)
OKLCHoklch(39.1% 0.111 137.4)
XYZxyz(3.8051, 6.4335, 1.3578)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24520B #390B52
analogous
#47520B #24520B #0B5215
triadic
#24520B #0B2452 #520B24
tetradic
#24520B #0B4752 #390B52 #52150B
square
#24520B #0B4752 #390B52 #52150B
split-complementary
#24520B #150B52 #520B47
monochromatic
#0C1B04 #0C1C04 #24520B #3C8812 #53BE19

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24520B#FFFFFF#000000##FFFFFF
##24520B1.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)
#4F4613
Tritanopia (blue-blind)
#214F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #24520b;
/* rgb */ color: rgb(36, 82, 11);
/* oklch */ color: oklch(39.1% 0.111 137.4);
Tailwind
colors: {
  custom: {
    50: '#658351',
    500: '#24520b',
    950: '#000000',
  },
}
SCSS
$custom: #24520b;
$custom-light: #658351;
$custom-dark: #000000;
JSON
{
  "hex": "#24520b",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 11
  },
  "hsl": {
    "h": 98.873,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39099,
    "c": 0.11051,
    "h": 137.4
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#24520B
secondary
#6B2B8E
accent
#35F3B0
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #24520B

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

Preview Lab → · Contrast checker → · Palette generator →

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