#24331F#24331F

#24331F is a dark, muted green. Relative luminance 0.028; OKLCH L 30.1% C 0.040 H 138.1°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#24331F
RGBrgb(36, 51, 31)
HSLhsl(105, 24%, 16%)
HSVhsv(105, 39%, 20%)
CMYKcmyk(29.4%, 0%, 39.2%, 80%)
CIE-LABlab(19.40, -10.98, 10.74)
CIE-LCHlch(19.40, 15.36, 135.63°)
OKLaboklab(30.13% -0.0299 0.0269)
OKLCHoklch(30.13% 0.04 138.1)
XYZxyz(2.1586, 2.8416, 1.7308)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24331F #2E1F33
analogous
#2E331F #24331F #1F3324
triadic
#24331F #1F2433 #331F24
tetradic
#24331F #1F2E33 #2E1F33 #33241F
square
#24331F #1F2E33 #2E1F33 #33241F
split-complementary
#24331F #241F33 #331F2E
monochromatic
#0D130C #0D130C #24331F #3F5936 #5A7F4D

Accessibility & contrast

On white

13.39
#24331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#24331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24331F
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24331F#FFFFFF#000000##FFFFFF
##24331F1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34301E
Deuteranopia (green-blind)
#322E20
Tritanopia (blue-blind)
#23322E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24331f;
/* rgb */ color: rgb(36, 51, 31);
/* oklch */ color: oklch(30.1% 0.040 138.1);
Tailwind
colors: {
  custom: {
    50: '#5f6a5a',
    500: '#24331f',
    950: '#000000',
  },
}
SCSS
$custom: #24331f;
$custom-light: #5f6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#24331f",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 105,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.30129,
    "c": 0.04024,
    "h": 138.1
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

primary
#24331F
secondary
#5E4866
accent
#67C1AA
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040604
muted
#797A79

Preview Lab

Preview with #24331F

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

Preview Lab → · Contrast checker → · Palette generator →

#24331F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva