#242807#242807

#242807 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.5% C 0.051 H 115.9°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#242807
RGBrgb(36, 40, 7)
HSLhsl(67, 70%, 9%)
HSVhsv(67, 83%, 16%)
CMYKcmyk(10%, 0%, 82.5%, 84.3%)
CIE-LABlab(15.00, -7.51, 18.86)
CIE-LCHlch(15.00, 20.30, 111.70°)
OKLaboklab(26.46% -0.0224 0.0461)
OKLCHoklch(26.46% 0.051 115.9)
XYZxyz(1.5247, 1.9080, 0.4889)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242807 #0B0728
analogous
#281C07 #242807 #142807
triadic
#242807 #072428 #280724
tetradic
#242807 #07281C #0B0728 #280714
square
#242807 #07281C #0B0728 #280714
split-complementary
#242807 #071428 #1C0728
monochromatic
#171A05 #171A05 #242807 #535C10 #829019

Accessibility & contrast

On white

15.20
#242807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#242807 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242807
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242807#FFFFFF#000000##FFFFFF
##2428071.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2504
Deuteranopia (green-blind)
#2B2609
Tritanopia (blue-blind)
#272521
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #242807;
/* rgb */ color: rgb(36, 40, 7);
/* oklch */ color: oklch(26.5% 0.051 115.9);
Tailwind
colors: {
  custom: {
    50: '#5f614a',
    500: '#242807',
    950: '#000000',
  },
}
SCSS
$custom: #242807;
$custom-light: #5f614a;
$custom-dark: #000000;
JSON
{
  "hex": "#242807",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 7
  },
  "hsl": {
    "h": 67.273,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26463,
    "c": 0.05129,
    "h": 115.9
  },
  "luminance": 0.01908
}

Semantic roles & 50–950 ramp

primary
#242807
secondary
#2C2368
accent
#3BED50
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#050501
muted
#797977

Preview Lab

Preview with #242807

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

Preview Lab → · Contrast checker → · Palette generator →

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