#F5DD74#F5DD74

#F5DD74 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.6% C 0.128 H 96.7°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#F5DD74
RGBrgb(245, 221, 116)
HSLhsl(49, 87%, 71%)
HSVhsv(49, 53%, 96%)
CMYKcmyk(0%, 9.8%, 52.7%, 3.9%)
CIE-LABlab(88.16, -4.70, 53.96)
CIE-LCHlch(88.16, 54.16, 94.97°)
OKLaboklab(89.63% -0.015 0.1272)
OKLCHoklch(89.63% 0.128 96.7)
XYZxyz(66.6674, 72.3891, 26.9804)
Luminance0.7239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD74 #748CF5
analogous
#F59C74 #F5DD74 #CCF574
triadic
#F5DD74 #74F5DD #DD74F5
tetradic
#F5DD74 #74F59C #748CF5 #F574CC
square
#F5DD74 #74F59C #748CF5 #F574CC
split-complementary
#F5DD74 #74CCF5 #9C74F5
monochromatic
#DFB810 #F1CF3B #F5DD74 #F9EBAD #FDF8E2

Accessibility & contrast

On white

1.36
#F5DD74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.48
#F5DD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DD74
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DD74#FFFFFF#000000##000000
##F5DD741.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD96A
Deuteranopia (green-blind)
#F6E178
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5dd74;
/* rgb */ color: rgb(245, 221, 116);
/* oklch */ color: oklch(89.6% 0.128 96.7);
Tailwind
colors: {
  custom: {
    50: '#fbe79e',
    500: '#f5dd74',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd74;
$custom-light: #fbe79e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd74",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 116
  },
  "hsl": {
    "h": 48.837,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89631,
    "c": 0.12812,
    "h": 96.7
  },
  "luminance": 0.72386
}

Semantic roles & 50–950 ramp

primary
#F5DD74
secondary
#3E59D0
accent
#2CE302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5DD74

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

Preview Lab → · Contrast checker → · Palette generator →

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