#242702#242702

#242702 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.1% C 0.056 H 114.2°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#242702
RGBrgb(36, 39, 2)
HSLhsl(65, 90%, 8%)
HSVhsv(65, 95%, 15%)
CMYKcmyk(7.7%, 0%, 94.9%, 84.7%)
CIE-LABlab(14.57, -7.37, 20.35)
CIE-LCHlch(14.57, 21.64, 109.90°)
OKLaboklab(26.1% -0.0229 0.0511)
OKLCHoklch(26.1% 0.056 114.2)
XYZxyz(1.4641, 1.8305, 0.3336)
Luminance0.0183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242702 #050227
analogous
#271702 #242702 #112702
triadic
#242702 #022427 #270224
tetradic
#242702 #022717 #050227 #270211
square
#242702 #022717 #050227 #270211
split-complementary
#242702 #021127 #170227
monochromatic
#1B1D01 #1B1D01 #242702 #5A6105 #8F9B08

Accessibility & contrast

On white

15.37
#242702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#242702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242702
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242702#FFFFFF#000000##FFFFFF
##2427021.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2400
Deuteranopia (green-blind)
#2B2504
Tritanopia (blue-blind)
#272420
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #242702;
/* rgb */ color: rgb(36, 39, 2);
/* oklch */ color: oklch(26.1% 0.056 114.2);
Tailwind
colors: {
  custom: {
    50: '#5f6147',
    500: '#242702',
    950: '#000000',
  },
}
SCSS
$custom: #242702;
$custom-light: #5f6147;
$custom-dark: #000000;
JSON
{
  "hex": "#242702",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 64.865,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.26103,
    "c": 0.05601,
    "h": 114.2
  },
  "luminance": 0.0183
}

Semantic roles & 50–950 ramp

primary
#242702
secondary
#1F186C
accent
#29FF3A
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#050500
muted
#797977

Preview Lab

Preview with #242702

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

Preview Lab → · Contrast checker → · Palette generator →

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