#F8DF74#F8DF74

#F8DF74 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.3% C 0.130 H 96.4°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#F8DF74
RGBrgb(248, 223, 116)
HSLhsl(49, 90%, 71%)
HSVhsv(49, 53%, 97%)
CMYKcmyk(0%, 10.1%, 53.2%, 2.7%)
CIE-LABlab(88.92, -4.50, 54.93)
CIE-LCHlch(88.92, 55.11, 94.68°)
OKLaboklab(90.3% -0.0146 0.1293)
OKLCHoklch(90.3% 0.13 96.4)
XYZxyz(68.2539, 73.9956, 27.2070)
Luminance0.7399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF74 #748DF8
analogous
#F89D74 #F8DF74 #CFF874
triadic
#F8DF74 #74F8DF #DF74F8
tetradic
#F8DF74 #74F89D #748DF8 #F874CF
square
#F8DF74 #74F89D #748DF8 #F874CF
split-complementary
#F8DF74 #74CFF8 #9D74F8
monochromatic
#E6BD0C #F5D23A #F8DF74 #FBECAE #FEF8E2

Accessibility & contrast

On white

1.33
#F8DF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.80
#F8DF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF74
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF74#FFFFFF#000000##000000
##F8DF741.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB6A
Deuteranopia (green-blind)
#F8E379
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f8df74;
/* rgb */ color: rgb(248, 223, 116);
/* oklch */ color: oklch(90.3% 0.130 96.4);
Tailwind
colors: {
  custom: {
    50: '#fde89f',
    500: '#f8df74',
    950: '#000000',
  },
}
SCSS
$custom: #f8df74;
$custom-light: #fde89f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df74",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 116
  },
  "hsl": {
    "h": 48.636,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.90298,
    "c": 0.13012,
    "h": 96.4
  },
  "luminance": 0.73993
}

Semantic roles & 50–950 ramp

primary
#F8DF74
secondary
#3D59D3
accent
#2BE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8DF74

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

Preview Lab → · Contrast checker → · Palette generator →

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