#F4DC59#F4DC59

#F4DC59 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.1% C 0.150 H 98.9°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#F4DC59
RGBrgb(244, 220, 89)
HSLhsl(51, 88%, 65%)
HSVhsv(51, 64%, 96%)
CMYKcmyk(0%, 9.8%, 63.5%, 4.3%)
CIE-LABlab(87.55, -6.50, 65.29)
CIE-LCHlch(87.55, 65.61, 95.69°)
OKLaboklab(89.05% -0.0232 0.1484)
OKLCHoklch(89.05% 0.15 98.9)
XYZxyz(64.7074, 71.1437, 19.7730)
Luminance0.7114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4DC59 #5971F4
analogous
#F48F59 #F4DC59 #BEF459
triadic
#F4DC59 #59F4DC #DC59F4
tetradic
#F4DC59 #59F48F #5971F4 #F459BE
square
#F4DC59 #59F48F #5971F4 #F459BE
split-complementary
#F4DC59 #59BEF4 #8F59F4
monochromatic
#C6A90D #F0D020 #F4DC59 #F8E892 #FCF4CC

Accessibility & contrast

On white

1.38
#F4DC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.23
#F4DC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4DC59
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4DC59#FFFFFF#000000##000000
##F4DC591.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D749
Deuteranopia (green-blind)
#F6DF60
Tritanopia (blue-blind)
#FFCDC0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f4dc59;
/* rgb */ color: rgb(244, 220, 89);
/* oklch */ color: oklch(89.1% 0.150 98.9);
Tailwind
colors: {
  custom: {
    50: '#fbe68d',
    500: '#f4dc59',
    950: '#000000',
  },
}
SCSS
$custom: #f4dc59;
$custom-light: #fbe68d;
$custom-dark: #000000;
JSON
{
  "hex": "#f4dc59",
  "rgb": {
    "r": 244,
    "g": 220,
    "b": 89
  },
  "hsl": {
    "h": 50.71,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.89051,
    "c": 0.15016,
    "h": 98.9
  },
  "luminance": 0.71141
}

Semantic roles & 50–950 ramp

primary
#F4DC59
secondary
#2F46C3
accent
#24E401
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F4DC59

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

Preview Lab → · Contrast checker → · Palette generator →

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