#F4DF97#F4DF97

#F4DF97 is a very light, moderate yellow. Relative luminance 0.742; OKLCH L 90.5% C 0.094 H 93.8°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#F4DF97
RGBrgb(244, 223, 151)
HSLhsl(46, 81%, 77%)
HSVhsv(46, 38%, 96%)
CMYKcmyk(0%, 8.6%, 38.1%, 4.3%)
CIE-LABlab(89.04, -2.76, 37.92)
CIE-LCHlch(89.04, 38.02, 94.17°)
OKLaboklab(90.46% -0.0061 0.0935)
OKLCHoklch(90.46% 0.094 93.8)
XYZxyz(69.2832, 74.2451, 39.9533)
Luminance0.7424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4DF97 #97ACF4
analogous
#F4B197 #F4DF97 #DAF497
triadic
#F4DF97 #97F4DF #DF97F4
tetradic
#F4DF97 #97F4B1 #97ACF4 #F497DA
square
#F4DF97 #97F4B1 #97ACF4 #F497DA
split-complementary
#F4DF97 #97DAF4 #B197F4
monochromatic
#E8BD28 #EECE60 #F4DF97 #FAF0CE #FCF6E3

Accessibility & contrast

On white

1.33
#F4DF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.85
#F4DF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4DF97
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4DF97#FFFFFF#000000##000000
##F4DF971.001.3315.8515.85
#FFFFFF1.331.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDC92
Deuteranopia (green-blind)
#F3E299
Tritanopia (blue-blind)
#FFD4CD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4df97;
/* rgb */ color: rgb(244, 223, 151);
/* oklch */ color: oklch(90.5% 0.094 93.8);
Tailwind
colors: {
  custom: {
    50: '#f9e8b6',
    500: '#f4df97',
    950: '#000000',
  },
}
SCSS
$custom: #f4df97;
$custom-light: #f9e8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f4df97",
  "rgb": {
    "r": 244,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 46.452,
    "s": 80.87,
    "l": 77.451
  },
  "oklch": {
    "l": 0.90459,
    "c": 0.09365,
    "h": 93.8
  },
  "luminance": 0.74243
}

Semantic roles & 50–950 ramp

primary
#F4DF97
secondary
#5D78D2
accent
#38DD08
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F4DF97

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

Preview Lab → · Contrast checker → · Palette generator →

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