#24541B#24541B

#24541B is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.8% C 0.102 H 140.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#24541B
RGBrgb(36, 84, 27)
HSLhsl(111, 51%, 22%)
HSVhsv(111, 68%, 33%)
CMYKcmyk(57.1%, 0%, 67.9%, 67.1%)
CIE-LABlab(31.33, -28.74, 27.70)
CIE-LCHlch(31.33, 39.91, 136.05°)
OKLaboklab(39.84% -0.0786 0.0645)
OKLCHoklch(39.84% 0.102 140.6)
XYZxyz(4.0955, 6.7945, 2.1324)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24541B #4B1B54
analogous
#41541B #24541B #1B542F
triadic
#24541B #1B2454 #541B24
tetradic
#24541B #1B4154 #4B1B54 #542F1B
square
#24541B #1B4154 #4B1B54 #542F1B
split-complementary
#24541B #2F1B54 #541B41
monochromatic
#0A1707 #10260C #24541B #38822A #4CB139

Accessibility & contrast

On white

8.90
#24541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#24541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24541B
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24541B#FFFFFF#000000##FFFFFF
##24541B1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C14
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#1F5148
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #24541b;
/* rgb */ color: rgb(36, 84, 27);
/* oklch */ color: oklch(39.8% 0.102 140.6);
Tailwind
colors: {
  custom: {
    50: '#64845a',
    500: '#24541b',
    950: '#000000',
  },
}
SCSS
$custom: #24541b;
$custom-light: #64845a;
$custom-dark: #000000;
JSON
{
  "hex": "#24541b",
  "rgb": {
    "r": 36,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 110.526,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39843,
    "c": 0.10172,
    "h": 140.6
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#24541B
secondary
#7E418A
accent
#4DDBC4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #24541B

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

Preview Lab → · Contrast checker → · Palette generator →

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