#F4E7AC#F4E7AC

#F4E7AC is a very light, moderate yellow. Relative luminance 0.794; OKLCH L 92.4% C 0.077 H 97.2°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#F4E7AC
RGBrgb(244, 231, 172)
HSLhsl(49, 77%, 82%)
HSVhsv(49, 30%, 96%)
CMYKcmyk(0%, 5.3%, 29.5%, 4.3%)
CIE-LABlab(91.40, -4.34, 30.38)
CIE-LCHlch(91.40, 30.69, 98.14°)
OKLaboklab(92.44% -0.0096 0.0763)
OKLCHoklch(92.44% 0.077 97.2)
XYZxyz(73.3311, 79.3652, 50.4778)
Luminance0.7936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E7AC #ACB9F4
analogous
#F4C3AC #F4E7AC #DDF4AC
triadic
#F4E7AC #ACF4E7 #E7ACF4
tetradic
#F4E7AC #ACF4C3 #ACB9F4 #F4ACDD
square
#F4E7AC #ACF4C3 #ACB9F4 #F4ACDD
split-complementary
#F4E7AC #ACDDF4 #C3ACF4
monochromatic
#E6C840 #EDD776 #F4E7AC #FBF7E2 #FBF7E4

Accessibility & contrast

On white

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

On black

16.87
#F4E7AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E7AC
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E7AC#FFFFFF#000000##000000
##F4E7AC1.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4e7ac;
/* rgb */ color: rgb(244, 231, 172);
/* oklch */ color: oklch(92.4% 0.077 97.2);
Tailwind
colors: {
  custom: {
    50: '#f8eec5',
    500: '#f4e7ac',
    950: '#000000',
  },
}
SCSS
$custom: #f4e7ac;
$custom-light: #f8eec5;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e7ac",
  "rgb": {
    "r": 244,
    "g": 231,
    "b": 172
  },
  "hsl": {
    "h": 49.167,
    "s": 76.596,
    "l": 81.569
  },
  "oklch": {
    "l": 0.92436,
    "c": 0.07692,
    "h": 97.2
  },
  "luminance": 0.79363
}

Semantic roles & 50–950 ramp

primary
#F4E7AC
secondary
#7082D4
accent
#32D90D
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #F4E7AC

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

Preview Lab → · Contrast checker → · Palette generator →

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