#242502#242502

#242502 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.5% C 0.053 H 111.2°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#242502
RGBrgb(36, 37, 2)
HSLhsl(62, 90%, 8%)
HSVhsv(62, 95%, 15%)
CMYKcmyk(2.7%, 0%, 94.6%, 85.5%)
CIE-LABlab(13.84, -6.06, 19.40)
CIE-LCHlch(13.84, 20.32, 107.35°)
OKLaboklab(25.52% -0.0193 0.0498)
OKLCHoklch(25.52% 0.053 111.2)
XYZxyz(1.4001, 1.7026, 0.3123)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242502 #030225
analogous
#251402 #242502 #132502
triadic
#242502 #022425 #250224
tetradic
#242502 #022514 #030225 #250213
square
#242502 #022514 #030225 #250213
split-complementary
#242502 #021325 #140225
monochromatic
#1C1D02 #1C1D02 #242502 #5C5F05 #959908

Accessibility & contrast

On white

15.66
#242502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#242502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242502
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242502#FFFFFF#000000##FFFFFF
##2425021.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#292404
Tritanopia (blue-blind)
#27221E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #242502;
/* rgb */ color: rgb(36, 37, 2);
/* oklch */ color: oklch(25.5% 0.053 111.2);
Tailwind
colors: {
  custom: {
    50: '#5f5f47',
    500: '#242502',
    950: '#000000',
  },
}
SCSS
$custom: #242502;
$custom-light: #5f5f47;
$custom-dark: #000000;
JSON
{
  "hex": "#242502",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 2
  },
  "hsl": {
    "h": 61.714,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.25519,
    "c": 0.05337,
    "h": 111.2
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#242502
secondary
#1B186A
accent
#29FF2F
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#050400
muted
#797977

Preview Lab

Preview with #242502

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

Preview Lab → · Contrast checker → · Palette generator →

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