#F4DC7A#F4DC7A

#F4DC7A is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.4% C 0.121 H 95.9°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#F4DC7A
RGBrgb(244, 220, 122)
HSLhsl(48, 85%, 72%)
HSVhsv(48, 50%, 96%)
CMYKcmyk(0%, 9.8%, 50%, 4.3%)
CIE-LABlab(87.89, -4.09, 50.77)
CIE-LCHlch(87.89, 50.93, 94.60°)
OKLaboklab(89.42% -0.0125 0.1208)
OKLCHoklch(89.42% 0.121 95.9)
XYZxyz(66.4165, 71.8273, 28.7742)
Luminance0.7183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4DC7A #7A92F4
analogous
#F49F7A #F4DC7A #CFF47A
triadic
#F4DC7A #7AF4DC #DC7AF4
tetradic
#F4DC7A #7AF49F #7A92F4 #F47ACF
square
#F4DC7A #7AF49F #7A92F4 #F47ACF
split-complementary
#F4DC7A #7ACFF4 #9F7AF4
monochromatic
#E1B813 #EFCD41 #F4DC7A #F9EBB3 #FDF8E3

Accessibility & contrast

On white

1.37
#F4DC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.37
#F4DC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4DC7A
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4DC7A#FFFFFF#000000##000000
##F4DC7A1.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED872
Deuteranopia (green-blind)
#F4E07E
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f4dc7a;
/* rgb */ color: rgb(244, 220, 122);
/* oklch */ color: oklch(89.4% 0.121 95.9);
Tailwind
colors: {
  custom: {
    50: '#fae6a2',
    500: '#f4dc7a',
    950: '#000000',
  },
}
SCSS
$custom: #f4dc7a;
$custom-light: #fae6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f4dc7a",
  "rgb": {
    "r": 244,
    "g": 220,
    "b": 122
  },
  "hsl": {
    "h": 48.197,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.8942,
    "c": 0.12144,
    "h": 95.9
  },
  "luminance": 0.71825
}

Semantic roles & 50–950 ramp

primary
#F4DC7A
secondary
#435FCF
accent
#30E104
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F4DC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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