#F4D97C#F4D97C

#F4D97C is a very light, moderate yellow. Relative luminance 0.703; OKLCH L 88.8% C 0.117 H 93.6°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#F4D97C
RGBrgb(244, 217, 124)
HSLhsl(47, 85%, 72%)
HSVhsv(47, 49%, 96%)
CMYKcmyk(0%, 11.1%, 49.2%, 4.3%)
CIE-LABlab(87.15, -2.39, 48.91)
CIE-LCHlch(87.15, 48.97, 92.80°)
OKLaboklab(88.85% -0.0074 0.1169)
OKLCHoklch(88.85% 0.117 93.6)
XYZxyz(65.7614, 70.3168, 29.1734)
Luminance0.7031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D97C #7C97F4
analogous
#F49D7C #F4D97C #D3F47C
triadic
#F4D97C #7CF4D9 #D97CF4
tetradic
#F4D97C #7CF49D #7C97F4 #F47CD3
square
#F4D97C #7CF49D #7C97F4 #F47CD3
split-complementary
#F4D97C #7CD3F4 #9D7CF4
monochromatic
#E3B413 #EFC944 #F4D97C #F9E9B4 #FDF7E3

Accessibility & contrast

On white

1.39
#F4D97C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#F4D97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D97C
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D97C#FFFFFF#000000##000000
##F4D97C1.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD674
Deuteranopia (green-blind)
#F1DE80
Tritanopia (blue-blind)
#FFCCC3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f4d97c;
/* rgb */ color: rgb(244, 217, 124);
/* oklch */ color: oklch(88.8% 0.117 93.6);
Tailwind
colors: {
  custom: {
    50: '#fae4a4',
    500: '#f4d97c',
    950: '#000000',
  },
}
SCSS
$custom: #f4d97c;
$custom-light: #fae4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d97c",
  "rgb": {
    "r": 244,
    "g": 217,
    "b": 124
  },
  "hsl": {
    "h": 46.5,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.88848,
    "c": 0.11709,
    "h": 93.6
  },
  "luminance": 0.70314
}

Semantic roles & 50–950 ramp

primary
#F4D97C
secondary
#4564CF
accent
#36E105
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F4D97C

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

Preview Lab → · Contrast checker → · Palette generator →

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