#24571B#24571B

#24571B is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.7% C 0.106 H 140.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#24571B
RGBrgb(36, 87, 27)
HSLhsl(111, 53%, 22%)
HSVhsv(111, 69%, 34%)
CMYKcmyk(58.6%, 0%, 69%, 65.9%)
CIE-LABlab(32.41, -30.06, 28.90)
CIE-LCHlch(32.41, 41.70, 136.12°)
OKLaboklab(40.73% -0.0822 0.0671)
OKLCHoklch(40.73% 0.106 140.8)
XYZxyz(4.3334, 7.2702, 2.2116)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24571B #4E1B57
analogous
#42571B #24571B #1B5730
triadic
#24571B #1B2457 #571B24
tetradic
#24571B #1B4257 #4E1B57 #57301B
square
#24571B #1B4257 #4E1B57 #57301B
split-complementary
#24571B #301B57 #571B42
monochromatic
#0A1707 #11280D #24571B #378629 #4BB438

Accessibility & contrast

On white

8.56
#24571B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#24571B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24571B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24571B#FFFFFF#000000##FFFFFF
##24571B1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F14
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#1E544A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #24571b;
/* rgb */ color: rgb(36, 87, 27);
/* oklch */ color: oklch(40.7% 0.106 140.8);
Tailwind
colors: {
  custom: {
    50: '#65875a',
    500: '#24571b',
    950: '#000000',
  },
}
SCSS
$custom: #24571b;
$custom-light: #65875a;
$custom-dark: #000000;
JSON
{
  "hex": "#24571b",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 111,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40732,
    "c": 0.10612,
    "h": 140.8
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#24571B
secondary
#81418D
accent
#4CDCC6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #24571B

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

Preview Lab → · Contrast checker → · Palette generator →

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