#242512#242512

#242512 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.8% C 0.033 H 111.1°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#242512
RGBrgb(36, 37, 18)
HSLhsl(63, 35%, 11%)
HSVhsv(63, 51%, 15%)
CMYKcmyk(2.7%, 0%, 51.4%, 85.5%)
CIE-LABlab(14.07, -4.24, 12.40)
CIE-LCHlch(14.07, 13.10, 108.90°)
OKLaboklab(25.77% -0.0117 0.0304)
OKLCHoklch(25.77% 0.033 111.1)
XYZxyz(1.4983, 1.7419, 0.8294)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242512 #131225
analogous
#251C12 #242512 #1A2512
triadic
#242512 #122425 #251224
tetradic
#242512 #12251C #131225 #25121A
square
#242512 #12251C #131225 #25121A
split-complementary
#242512 #121A25 #1C1225
monochromatic
#14150A #14150A #242512 #4C4E26 #74773A

Accessibility & contrast

On white

15.57
#242512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242512
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242512#FFFFFF#000000##FFFFFF
##2425121.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282311
Deuteranopia (green-blind)
#282413
Tritanopia (blue-blind)
#262320
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #242512;
/* rgb */ color: rgb(36, 37, 18);
/* oklch */ color: oklch(25.8% 0.033 111.1);
Tailwind
colors: {
  custom: {
    50: '#5f5f50',
    500: '#242512',
    950: '#000000',
  },
}
SCSS
$custom: #242512;
$custom-light: #5f5f50;
$custom-dark: #000000;
JSON
{
  "hex": "#242512",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 18
  },
  "hsl": {
    "h": 63.158,
    "s": 34.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.25774,
    "c": 0.03257,
    "h": 111.1
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#242512
secondary
#3A385B
accent
#5DCB63
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #242512

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

Preview Lab → · Contrast checker → · Palette generator →

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