#F4D978#F4D978

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

Color values

HEX#F4D978
RGBrgb(244, 217, 120)
HSLhsl(47, 85%, 71%)
HSVhsv(47, 51%, 96%)
CMYKcmyk(0%, 11.1%, 50.8%, 4.3%)
CIE-LABlab(87.10, -2.74, 50.78)
CIE-LCHlch(87.10, 50.86, 93.09°)
OKLaboklab(88.79% -0.0089 0.1207)
OKLCHoklch(88.79% 0.121 94.2)
XYZxyz(65.5135, 70.2177, 27.8681)
Luminance0.7022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D978 #7893F4
analogous
#F49B78 #F4D978 #D1F478
triadic
#F4D978 #78F4D9 #D978F4
tetradic
#F4D978 #78F49B #7893F4 #F478D1
square
#F4D978 #78F49B #7893F4 #F478D1
split-complementary
#F4D978 #78D1F4 #9B78F4
monochromatic
#DFB312 #EFC93F #F4D978 #F9E9B1 #FDF7E3

Accessibility & contrast

On white

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

On black

15.04
#F4D978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D978
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D978#FFFFFF#000000##000000
##F4D9781.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4d978;
/* rgb */ color: rgb(244, 217, 120);
/* oklch */ color: oklch(88.8% 0.121 94.2);
Tailwind
colors: {
  custom: {
    50: '#fae4a1',
    500: '#f4d978',
    950: '#000000',
  },
}
SCSS
$custom: #f4d978;
$custom-light: #fae4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d978",
  "rgb": {
    "r": 244,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 46.935,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88794,
    "c": 0.12097,
    "h": 94.2
  },
  "luminance": 0.70215
}

Semantic roles & 50–950 ramp

primary
#F4D978
secondary
#4160CF
accent
#34E104
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F4D978

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

Preview Lab → · Contrast checker → · Palette generator →

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