#242517#242517

#242517 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 25.9% C 0.025 H 111.4°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#242517
RGBrgb(36, 37, 23)
HSLhsl(64, 23%, 12%)
HSVhsv(64, 38%, 15%)
CMYKcmyk(2.7%, 0%, 37.8%, 85.5%)
CIE-LABlab(14.17, -3.44, 9.20)
CIE-LCHlch(14.17, 9.82, 110.48°)
OKLaboklab(25.89% -0.009 0.023)
OKLCHoklch(25.89% 0.025 111.4)
XYZxyz(1.5438, 1.7601, 1.0688)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242517 #181725
analogous
#251F17 #242517 #1D2517
triadic
#242517 #172425 #251724
tetradic
#242517 #17251F #181725 #25171D
square
#242517 #17251F #181725 #25171D
split-complementary
#242517 #171D25 #1F1725
monochromatic
#12130C #12130C #242517 #494B2E #6D7046

Accessibility & contrast

On white

15.53
#242517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#242517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242517
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242517#FFFFFF#000000##FFFFFF
##2425171.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272416
Deuteranopia (green-blind)
#272418
Tritanopia (blue-blind)
#262321
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #242517;
/* rgb */ color: rgb(36, 37, 23);
/* oklch */ color: oklch(25.9% 0.025 111.4);
Tailwind
colors: {
  custom: {
    50: '#5f5f54',
    500: '#242517',
    950: '#000000',
  },
}
SCSS
$custom: #242517;
$custom-light: #5f5f54;
$custom-dark: #000000;
JSON
{
  "hex": "#242517",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 23
  },
  "hsl": {
    "h": 64.286,
    "s": 23.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.25891,
    "c": 0.02472,
    "h": 111.4
  },
  "luminance": 0.0176
}

Semantic roles & 50–950 ramp

primary
#242517
secondary
#414058
accent
#68C06E
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #242517

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

Preview Lab → · Contrast checker → · Palette generator →

#242517 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva