#242707#242707

#242707 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.2% C 0.050 H 114.4°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#242707
RGBrgb(36, 39, 7)
HSLhsl(66, 70%, 9%)
HSVhsv(66, 82%, 15%)
CMYKcmyk(7.7%, 0%, 82.1%, 84.7%)
CIE-LABlab(14.63, -6.86, 18.39)
CIE-LCHlch(14.63, 19.63, 110.45°)
OKLaboklab(26.17% -0.0206 0.0454)
OKLCHoklch(26.17% 0.05 114.4)
XYZxyz(1.4915, 1.8415, 0.4778)
Luminance0.0184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242707 #0A0727
analogous
#271A07 #242707 #142707
triadic
#242707 #072427 #270724
tetradic
#242707 #07271A #0A0727 #270714
square
#242707 #07271A #0A0727 #270714
split-complementary
#242707 #071427 #1A0727
monochromatic
#181A05 #181A05 #242707 #545B10 #848F1A

Accessibility & contrast

On white

15.35
#242707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242707
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242707#FFFFFF#000000##FFFFFF
##2427071.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242707;
/* rgb */ color: rgb(36, 39, 7);
/* oklch */ color: oklch(26.2% 0.050 114.4);
Tailwind
colors: {
  custom: {
    50: '#5f614a',
    500: '#242707',
    950: '#000000',
  },
}
SCSS
$custom: #242707;
$custom-light: #5f614a;
$custom-dark: #000000;
JSON
{
  "hex": "#242707",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 7
  },
  "hsl": {
    "h": 65.625,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26171,
    "c": 0.04981,
    "h": 114.4
  },
  "luminance": 0.01841
}

Semantic roles & 50–950 ramp

primary
#242707
secondary
#2A2366
accent
#3BEC4C
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#050501
muted
#797977

Preview Lab

Preview with #242707

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

Preview Lab → · Contrast checker → · Palette generator →

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