#F4E7AF#F4E7AF

#F4E7AF is a very light, moderate yellow. Relative luminance 0.795; OKLCH L 92.5% C 0.073 H 96.6°. Best body text is #000000 at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#F4E7AF
RGBrgb(244, 231, 175)
HSLhsl(49, 76%, 82%)
HSVhsv(49, 28%, 96%)
CMYKcmyk(0%, 5.3%, 28.3%, 4.3%)
CIE-LABlab(91.45, -3.96, 28.92)
CIE-LCHlch(91.45, 29.19, 97.80°)
OKLaboklab(92.5% -0.0084 0.0729)
OKLCHoklch(92.5% 0.073 96.6)
XYZxyz(73.6225, 79.4818, 52.0124)
Luminance0.7948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E7AF #AFBCF4
analogous
#F4C5AF #F4E7AF #DEF4AF
triadic
#F4E7AF #AFF4E7 #E7AFF4
tetradic
#F4E7AF #AFF4C5 #AFBCF4 #F4AFDE
square
#F4E7AF #AFF4C5 #AFBCF4 #F4AFDE
split-complementary
#F4E7AF #AFDEF4 #C5AFF4
monochromatic
#E5C743 #EDD779 #F4E7AF #FBF7E4 #FBF7E4

Accessibility & contrast

On white

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

On black

16.90
#F4E7AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E7AF
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E7AF#FFFFFF#000000##000000
##F4E7AF1.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4e7af;
/* rgb */ color: rgb(244, 231, 175);
/* oklch */ color: oklch(92.5% 0.073 96.6);
Tailwind
colors: {
  custom: {
    50: '#f8eec7',
    500: '#f4e7af',
    950: '#000000',
  },
}
SCSS
$custom: #f4e7af;
$custom-light: #f8eec7;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e7af",
  "rgb": {
    "r": 244,
    "g": 231,
    "b": 175
  },
  "hsl": {
    "h": 48.696,
    "s": 75.824,
    "l": 82.157
  },
  "oklch": {
    "l": 0.92495,
    "c": 0.07335,
    "h": 96.6
  },
  "luminance": 0.7948
}

Semantic roles & 50–950 ramp

primary
#F4E7AF
secondary
#7385D4
accent
#34D80D
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #F4E7AF

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

Preview Lab → · Contrast checker → · Palette generator →

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