#F4E8AB#F4E8AB

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

Color values

HEX#F4E8AB
RGBrgb(244, 232, 171)
HSLhsl(50, 77%, 81%)
HSVhsv(50, 30%, 96%)
CMYKcmyk(0%, 4.9%, 29.9%, 4.3%)
CIE-LABlab(91.63, -4.97, 31.21)
CIE-LCHlch(91.63, 31.60, 99.05°)
OKLaboklab(92.62% -0.0114 0.0783)
OKLCHoklch(92.62% 0.079 98.3)
XYZxyz(73.5162, 79.8883, 50.0675)
Luminance0.7989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E8AB #ABB7F4
analogous
#F4C4AB #F4E8AB #DCF4AB
triadic
#F4E8AB #ABF4E8 #E8ABF4
tetradic
#F4E8AB #ABF4C4 #ABB7F4 #F4ABDC
square
#F4E8AB #ABF4C4 #ABB7F4 #F4ABDC
split-complementary
#F4E8AB #ABDCF4 #C4ABF4
monochromatic
#E6CA3F #EDD975 #F4E8AB #FBF7E1 #FBF8E4

Accessibility & contrast

On white

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

On black

16.98
#F4E8AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E8AB
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E8AB#FFFFFF#000000##000000
##F4E8AB1.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4e8ab;
/* rgb */ color: rgb(244, 232, 171);
/* oklch */ color: oklch(92.6% 0.079 98.3);
Tailwind
colors: {
  custom: {
    50: '#f8efc4',
    500: '#f4e8ab',
    950: '#000000',
  },
}
SCSS
$custom: #f4e8ab;
$custom-light: #f8efc4;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e8ab",
  "rgb": {
    "r": 244,
    "g": 232,
    "b": 171
  },
  "hsl": {
    "h": 50.137,
    "s": 76.842,
    "l": 81.373
  },
  "oklch": {
    "l": 0.92616,
    "c": 0.0791,
    "h": 98.3
  },
  "luminance": 0.79887
}

Semantic roles & 50–950 ramp

primary
#F4E8AB
secondary
#6F80D4
accent
#2ED90C
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #F4E8AB

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

Preview Lab → · Contrast checker → · Palette generator →

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