#F4E8AC#F4E8AC

#F4E8AC is a very light, moderate yellow. Relative luminance 0.799; OKLCH L 92.6% C 0.078 H 98.1°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#F4E8AC
RGBrgb(244, 232, 172)
HSLhsl(50, 77%, 82%)
HSVhsv(50, 30%, 96%)
CMYKcmyk(0%, 4.9%, 29.5%, 4.3%)
CIE-LABlab(91.65, -4.85, 30.72)
CIE-LCHlch(91.65, 31.10, 98.97°)
OKLaboklab(92.64% -0.011 0.0771)
OKLCHoklch(92.64% 0.078 98.1)
XYZxyz(73.6118, 79.9266, 50.5714)
Luminance0.7993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E8AC #ACB8F4
analogous
#F4C4AC #F4E8AC #DCF4AC
triadic
#F4E8AC #ACF4E8 #E8ACF4
tetradic
#F4E8AC #ACF4C4 #ACB8F4 #F4ACDC
square
#F4E8AC #ACF4C4 #ACB8F4 #F4ACDC
split-complementary
#F4E8AC #ACDCF4 #C4ACF4
monochromatic
#E6CA40 #EDD976 #F4E8AC #FBF7E2 #FBF8E4

Accessibility & contrast

On white

1.24
#F4E8AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#F4E8AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E8AC
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E8AC#FFFFFF#000000##000000
##F4E8AC1.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E4A8
Deuteranopia (green-blind)
#F7E9AE
Tritanopia (blue-blind)
#FFDFD8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f4e8ac;
/* rgb */ color: rgb(244, 232, 172);
/* oklch */ color: oklch(92.6% 0.078 98.1);
Tailwind
colors: {
  custom: {
    50: '#f8efc5',
    500: '#f4e8ac',
    950: '#000000',
  },
}
SCSS
$custom: #f4e8ac;
$custom-light: #f8efc5;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e8ac",
  "rgb": {
    "r": 244,
    "g": 232,
    "b": 172
  },
  "hsl": {
    "h": 50,
    "s": 76.596,
    "l": 81.569
  },
  "oklch": {
    "l": 0.92636,
    "c": 0.07792,
    "h": 98.1
  },
  "luminance": 0.79925
}

Semantic roles & 50–950 ramp

primary
#F4E8AC
secondary
#7081D4
accent
#2FD90D
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #F4E8AC

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

Preview Lab → · Contrast checker → · Palette generator →

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