#F4D474#F4D474

#F4D474 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.7% C 0.121 H 91.4°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#F4D474
RGBrgb(244, 212, 116)
HSLhsl(45, 85%, 71%)
HSVhsv(45, 52%, 96%)
CMYKcmyk(0%, 13.1%, 52.5%, 4.3%)
CIE-LABlab(85.80, -0.52, 51.13)
CIE-LCHlch(85.80, 51.13, 90.59°)
OKLaboklab(87.75% -0.0029 0.1211)
OKLCHoklch(87.75% 0.121 91.4)
XYZxyz(64.0065, 67.5840, 26.1932)
Luminance0.6758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D474 #7494F4
analogous
#F49474 #F4D474 #D4F474
triadic
#F4D474 #74F4D4 #D474F4
tetradic
#F4D474 #74F494 #7494F4 #F474D4
square
#F4D474 #74F494 #7494F4 #F474D4
split-complementary
#F4D474 #74D4F4 #9474F4
monochromatic
#DCA911 #F0C23B #F4D474 #F8E6AD #FDF6E3

Accessibility & contrast

On white

1.45
#F4D474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#F4D474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D474
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D474#FFFFFF#000000##000000
##F4D4741.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16C
Deuteranopia (green-blind)
#EFDA78
Tritanopia (blue-blind)
#FFC6BE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f4d474;
/* rgb */ color: rgb(244, 212, 116);
/* oklch */ color: oklch(87.7% 0.121 91.4);
Tailwind
colors: {
  custom: {
    50: '#fae19e',
    500: '#f4d474',
    950: '#000000',
  },
}
SCSS
$custom: #f4d474;
$custom-light: #fae19e;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d474",
  "rgb": {
    "r": 244,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 45,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.87748,
    "c": 0.1211,
    "h": 91.4
  },
  "luminance": 0.67581
}

Semantic roles & 50–950 ramp

primary
#F4D474
secondary
#3E62CE
accent
#3BE204
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F4D474

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

Preview Lab → · Contrast checker → · Palette generator →

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