#F8DD74#F8DD74

#F8DD74 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.9% C 0.129 H 95.2°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#F8DD74
RGBrgb(248, 221, 116)
HSLhsl(48, 90%, 71%)
HSVhsv(48, 53%, 97%)
CMYKcmyk(0%, 10.9%, 53.2%, 2.7%)
CIE-LABlab(88.42, -3.49, 54.33)
CIE-LCHlch(88.42, 54.44, 93.67°)
OKLaboklab(89.9% -0.0117 0.128)
OKLCHoklch(89.9% 0.129 95.2)
XYZxyz(67.7227, 72.9333, 27.0299)
Luminance0.7293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DD74 #748FF8
analogous
#F89B74 #F8DD74 #D1F874
triadic
#F8DD74 #74F8DD #DD74F8
tetradic
#F8DD74 #74F89B #748FF8 #F874D1
square
#F8DD74 #74F89B #748FF8 #F874D1
split-complementary
#F8DD74 #74D1F8 #9B74F8
monochromatic
#E6B90C #F5CF3A #F8DD74 #FBEBAE #FEF8E2

Accessibility & contrast

On white

1.35
#F8DD74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.59
#F8DD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DD74
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DD74#FFFFFF#000000##000000
##F8DD741.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D96A
Deuteranopia (green-blind)
#F7E278
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f8dd74;
/* rgb */ color: rgb(248, 221, 116);
/* oklch */ color: oklch(89.9% 0.129 95.2);
Tailwind
colors: {
  custom: {
    50: '#fde79e',
    500: '#f8dd74',
    950: '#000000',
  },
}
SCSS
$custom: #f8dd74;
$custom-light: #fde79e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dd74",
  "rgb": {
    "r": 248,
    "g": 221,
    "b": 116
  },
  "hsl": {
    "h": 47.727,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.89899,
    "c": 0.12853,
    "h": 95.2
  },
  "luminance": 0.7293
}

Semantic roles & 50–950 ramp

primary
#F8DD74
secondary
#3D5CD3
accent
#2FE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8DD74

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

Preview Lab → · Contrast checker → · Palette generator →

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