#242818#242818

#242818 is a dark, muted yellow-green. Relative luminance 0.020; OKLCH L 26.8% C 0.029 H 119.8°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#242818
RGBrgb(36, 40, 24)
HSLhsl(75, 25%, 13%)
HSVhsv(75, 40%, 16%)
CMYKcmyk(10%, 0%, 40%, 84.3%)
CIE-LABlab(15.27, -5.28, 9.97)
CIE-LCHlch(15.27, 11.28, 117.92°)
OKLaboklab(26.77% -0.0142 0.0249)
OKLCHoklch(26.77% 0.029 119.8)
XYZxyz(1.6512, 1.9586, 1.1550)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242818 #1C1828
analogous
#282418 #242818 #1C2818
triadic
#242818 #182428 #281824
tetradic
#242818 #182824 #1C1828 #28181C
square
#242818 #182824 #1C1828 #28181C
split-complementary
#242818 #181C28 #241828
monochromatic
#11130B #11130B #242818 #464E2F #697446

Accessibility & contrast

On white

15.09
#242818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#242818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242818
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242818#FFFFFF#000000##FFFFFF
##2428181.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2617
Deuteranopia (green-blind)
#292619
Tritanopia (blue-blind)
#252624
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #242818;
/* rgb */ color: rgb(36, 40, 24);
/* oklch */ color: oklch(26.8% 0.029 119.8);
Tailwind
colors: {
  custom: {
    50: '#5f6154',
    500: '#242818',
    950: '#000000',
  },
}
SCSS
$custom: #242818;
$custom-light: #5f6154;
$custom-dark: #000000;
JSON
{
  "hex": "#242818",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 75,
    "s": 25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.26769,
    "c": 0.02863,
    "h": 119.8
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#242818
secondary
#47405C
accent
#66C17D
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040502
muted
#797978

Preview Lab

Preview with #242818

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

Preview Lab → · Contrast checker → · Palette generator →

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