#242002#242002

#242002 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 24.1% C 0.047 H 102.1°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#242002
RGBrgb(36, 32, 2)
HSLhsl(53, 89%, 7%)
HSVhsv(53, 94%, 14%)
CMYKcmyk(0%, 11.1%, 94.4%, 85.9%)
CIE-LABlab(12.04, -2.68, 16.98)
CIE-LCHlch(12.04, 17.19, 98.98°)
OKLaboklab(24.08% -0.0099 0.0464)
OKLCHoklch(24.08% 0.047 102.1)
XYZxyz(1.2551, 1.4125, 0.2640)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242002 #020624
analogous
#240F02 #242002 #172402
triadic
#242002 #022420 #200224
tetradic
#242002 #02240F #020624 #240217
square
#242002 #02240F #020624 #240217
split-complementary
#242002 #021724 #0F0224
monochromatic
#1D1A02 #1D1A02 #242002 #5E5405 #988708

Accessibility & contrast

On white

16.38
#242002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#242002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242002
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242002#FFFFFF#000000##FFFFFF
##2420021.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F00
Deuteranopia (green-blind)
#252003
Tritanopia (blue-blind)
#281D1A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #242002;
/* rgb */ color: rgb(36, 32, 2);
/* oklch */ color: oklch(24.1% 0.047 102.1);
Tailwind
colors: {
  custom: {
    50: '#5f5b47',
    500: '#242002',
    950: '#000000',
  },
}
SCSS
$custom: #242002;
$custom-light: #5f5b47;
$custom-dark: #000000;
JSON
{
  "hex": "#242002",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 52.941,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.24082,
    "c": 0.04743,
    "h": 102.1
  },
  "luminance": 0.01412
}

Semantic roles & 50–950 ramp

primary
#242002
secondary
#18226A
accent
#42FF29
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#050400
muted
#797977

Preview Lab

Preview with #242002

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

Preview Lab → · Contrast checker → · Palette generator →

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