#F4D979#F4D979

#F4D979 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.120 H 94.1°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#F4D979
RGBrgb(244, 217, 121)
HSLhsl(47, 85%, 72%)
HSVhsv(47, 50%, 96%)
CMYKcmyk(0%, 11.1%, 50.4%, 4.3%)
CIE-LABlab(87.12, -2.65, 50.32)
CIE-LCHlch(87.12, 50.39, 93.02°)
OKLaboklab(88.81% -0.0085 0.1197)
OKLCHoklch(88.81% 0.12 94.1)
XYZxyz(65.5745, 70.2421, 28.1894)
Luminance0.7024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D979 #7994F4
analogous
#F49C79 #F4D979 #D2F479
triadic
#F4D979 #79F4D9 #D979F4
tetradic
#F4D979 #79F49C #7994F4 #F479D2
square
#F4D979 #79F49C #7994F4 #F479D2
split-complementary
#F4D979 #79D2F4 #9C79F4
monochromatic
#E0B312 #EFC940 #F4D979 #F9E9B2 #FDF7E3

Accessibility & contrast

On white

1.40
#F4D979 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#F4D979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D979
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D979#FFFFFF#000000##000000
##F4D9791.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD571
Deuteranopia (green-blind)
#F2DE7D
Tritanopia (blue-blind)
#FFCCC2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f4d979;
/* rgb */ color: rgb(244, 217, 121);
/* oklch */ color: oklch(88.8% 0.120 94.1);
Tailwind
colors: {
  custom: {
    50: '#fae4a2',
    500: '#f4d979',
    950: '#000000',
  },
}
SCSS
$custom: #f4d979;
$custom-light: #fae4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d979",
  "rgb": {
    "r": 244,
    "g": 217,
    "b": 121
  },
  "hsl": {
    "h": 46.829,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.88807,
    "c": 0.12001,
    "h": 94.1
  },
  "luminance": 0.70239
}

Semantic roles & 50–950 ramp

primary
#F4D979
secondary
#4261CF
accent
#35E104
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F4D979

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

Preview Lab → · Contrast checker → · Palette generator →

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