#242302#242302

#242302 is a very dark, muted yellow. Relative luminance 0.016; OKLCH L 24.9% C 0.051 H 107.9°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#242302
RGBrgb(36, 35, 2)
HSLhsl(58, 89%, 7%)
HSVhsv(58, 94%, 14%)
CMYKcmyk(0%, 2.8%, 94.4%, 85.9%)
CIE-LABlab(13.12, -4.73, 18.44)
CIE-LCHlch(13.12, 19.04, 104.39°)
OKLaboklab(24.94% -0.0156 0.0484)
OKLCHoklch(24.94% 0.051 107.9)
XYZxyz(1.3396, 1.5816, 0.2921)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242302 #020324
analogous
#241202 #242302 #142402
triadic
#242302 #022423 #230224
tetradic
#242302 #022412 #020324 #240214
square
#242302 #022412 #020324 #240214
split-complementary
#242302 #021424 #120224
monochromatic
#1D1C02 #1D1C02 #242302 #5E5B05 #989408

Accessibility & contrast

On white

15.95
#242302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#242302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242302
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242302#FFFFFF#000000##FFFFFF
##2423021.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272100
Deuteranopia (green-blind)
#282204
Tritanopia (blue-blind)
#28201C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #242302;
/* rgb */ color: rgb(36, 35, 2);
/* oklch */ color: oklch(24.9% 0.051 107.9);
Tailwind
colors: {
  custom: {
    50: '#5f5d47',
    500: '#242302',
    950: '#000000',
  },
}
SCSS
$custom: #242302;
$custom-light: #5f5d47;
$custom-dark: #000000;
JSON
{
  "hex": "#242302",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 2
  },
  "hsl": {
    "h": 58.235,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.24939,
    "c": 0.05086,
    "h": 107.9
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#242302
secondary
#181B6A
accent
#2FFF29
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#050400
muted
#797977

Preview Lab

Preview with #242302

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

Preview Lab → · Contrast checker → · Palette generator →

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