#242012#242012

#242012 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.4% C 0.025 H 94.0°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#242012
RGBrgb(36, 32, 18)
HSLhsl(47, 33%, 11%)
HSVhsv(47, 50%, 14%)
CMYKcmyk(0%, 11.1%, 50%, 85.9%)
CIE-LABlab(12.30, -0.79, 10.03)
CIE-LCHlch(12.30, 10.06, 94.49°)
OKLaboklab(24.37% -0.0018 0.0252)
OKLCHoklch(24.37% 0.025 94)
XYZxyz(1.3533, 1.4518, 0.7811)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242012 #121624
analogous
#241712 #242012 #1F2412
triadic
#242012 #122420 #201224
tetradic
#242012 #122417 #121624 #24121F
square
#242012 #122417 #121624 #24121F
split-complementary
#242012 #121F24 #171224
monochromatic
#14120A #14120A #242012 #4D4426 #76693B

Accessibility & contrast

On white

16.27
#242012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#242012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242012
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242012#FFFFFF#000000##FFFFFF
##2420121.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F11
Deuteranopia (green-blind)
#242112
Tritanopia (blue-blind)
#271E1C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #242012;
/* rgb */ color: rgb(36, 32, 18);
/* oklch */ color: oklch(24.4% 0.025 94.0);
Tailwind
colors: {
  custom: {
    50: '#5f5b50',
    500: '#242012',
    950: '#000000',
  },
}
SCSS
$custom: #242012;
$custom-light: #5f5b50;
$custom-dark: #000000;
JSON
{
  "hex": "#242012",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 46.667,
    "s": 33.333,
    "l": 10.588
  },
  "oklch": {
    "l": 0.24369,
    "c": 0.02524,
    "h": 94
  },
  "luminance": 0.01452
}

Semantic roles & 50–950 ramp

primary
#242012
secondary
#383F5A
accent
#76C95E
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #242012

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

Preview Lab → · Contrast checker → · Palette generator →

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