#F4E7AB#F4E7AB

#F4E7AB is a very light, moderate yellow. Relative luminance 0.793; OKLCH L 92.4% C 0.078 H 97.3°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#F4E7AB
RGBrgb(244, 231, 171)
HSLhsl(49, 77%, 81%)
HSVhsv(49, 30%, 96%)
CMYKcmyk(0%, 5.3%, 29.9%, 4.3%)
CIE-LABlab(91.38, -4.47, 30.87)
CIE-LCHlch(91.38, 31.19, 98.24°)
OKLaboklab(92.42% -0.01 0.0775)
OKLCHoklch(92.42% 0.078 97.3)
XYZxyz(73.2355, 79.3270, 49.9739)
Luminance0.7933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E7AB #ABB8F4
analogous
#F4C3AB #F4E7AB #DDF4AB
triadic
#F4E7AB #ABF4E7 #E7ABF4
tetradic
#F4E7AB #ABF4C3 #ABB8F4 #F4ABDD
square
#F4E7AB #ABF4C3 #ABB8F4 #F4ABDD
split-complementary
#F4E7AB #ABDDF4 #C3ABF4
monochromatic
#E6C83F #EDD875 #F4E7AB #FBF6E1 #FBF7E4

Accessibility & contrast

On white

1.25
#F4E7AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.86
#F4E7AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E7AB
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E7AB#FFFFFF#000000##000000
##F4E7AB1.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E4A7
Deuteranopia (green-blind)
#F7E8AD
Tritanopia (blue-blind)
#FFDED7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f4e7ab;
/* rgb */ color: rgb(244, 231, 171);
/* oklch */ color: oklch(92.4% 0.078 97.3);
Tailwind
colors: {
  custom: {
    50: '#f8eec4',
    500: '#f4e7ab',
    950: '#000000',
  },
}
SCSS
$custom: #f4e7ab;
$custom-light: #f8eec4;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e7ab",
  "rgb": {
    "r": 244,
    "g": 231,
    "b": 171
  },
  "hsl": {
    "h": 49.315,
    "s": 76.842,
    "l": 81.373
  },
  "oklch": {
    "l": 0.92417,
    "c": 0.0781,
    "h": 97.3
  },
  "luminance": 0.79325
}

Semantic roles & 50–950 ramp

primary
#F4E7AB
secondary
#6F81D4
accent
#31D90C
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #F4E7AB

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

Preview Lab → · Contrast checker → · Palette generator →

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