#F4E7AD#F4E7AD

#F4E7AD is a very light, moderate yellow. Relative luminance 0.794; OKLCH L 92.5% C 0.076 H 97.0°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#F4E7AD
RGBrgb(244, 231, 173)
HSLhsl(49, 76%, 82%)
HSVhsv(49, 29%, 96%)
CMYKcmyk(0%, 5.3%, 29.1%, 4.3%)
CIE-LABlab(91.42, -4.22, 29.89)
CIE-LCHlch(91.42, 30.19, 98.03°)
OKLaboklab(92.46% -0.0092 0.0752)
OKLCHoklch(92.46% 0.076 97)
XYZxyz(73.4275, 79.4038, 50.9855)
Luminance0.7940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E7AD #ADBAF4
analogous
#F4C4AD #F4E7AD #DEF4AD
triadic
#F4E7AD #ADF4E7 #E7ADF4
tetradic
#F4E7AD #ADF4C4 #ADBAF4 #F4ADDE
square
#F4E7AD #ADF4C4 #ADBAF4 #F4ADDE
split-complementary
#F4E7AD #ADDEF4 #C4ADF4
monochromatic
#E6C741 #EDD777 #F4E7AD #FBF7E3 #FBF7E4

Accessibility & contrast

On white

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

On black

16.88
#F4E7AD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E7AD
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E7AD#FFFFFF#000000##000000
##F4E7AD1.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E4A9
Deuteranopia (green-blind)
#F6E8AF
Tritanopia (blue-blind)
#FFDFD8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f4e7ad;
/* rgb */ color: rgb(244, 231, 173);
/* oklch */ color: oklch(92.5% 0.076 97.0);
Tailwind
colors: {
  custom: {
    50: '#f8eec5',
    500: '#f4e7ad',
    950: '#000000',
  },
}
SCSS
$custom: #f4e7ad;
$custom-light: #f8eec5;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e7ad",
  "rgb": {
    "r": 244,
    "g": 231,
    "b": 173
  },
  "hsl": {
    "h": 49.014,
    "s": 76.344,
    "l": 81.765
  },
  "oklch": {
    "l": 0.92455,
    "c": 0.07573,
    "h": 97
  },
  "luminance": 0.79402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F4E7AD

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

Preview Lab → · Contrast checker → · Palette generator →

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