#F8DA4F#F8DA4F

#F8DA4F is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.9% C 0.156 H 96.8°. Best body text is #000000 at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#F8DA4F
RGBrgb(248, 218, 79)
HSLhsl(49, 92%, 64%)
HSVhsv(49, 68%, 97%)
CMYKcmyk(0%, 12.1%, 68.1%, 2.7%)
CIE-LABlab(87.32, -4.40, 69.19)
CIE-LCHlch(87.32, 69.33, 93.64°)
OKLaboklab(88.93% -0.0185 0.155)
OKLCHoklch(88.93% 0.156 96.8)
XYZxyz(65.1972, 70.6671, 17.6016)
Luminance0.7066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DA4F #4F6DF8
analogous
#F8864F #F8DA4F #C2F84F
triadic
#F8DA4F #4FF8DA #DA4FF8
tetradic
#F8DA4F #4FF886 #4F6DF8 #F84FC2
square
#F8DA4F #4FF886 #4F6DF8 #F84FC2
split-complementary
#F8DA4F #4FC2F8 #864FF8
monochromatic
#C5A308 #F6CE14 #F8DA4F #FAE68A #FDF3C5

Accessibility & contrast

On white

1.39
#F8DA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.13
#F8DA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DA4F
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DA4F#FFFFFF#000000##000000
##F8DA4F1.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53C
Deuteranopia (green-blind)
#F7DF57
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8da4f;
/* rgb */ color: rgb(248, 218, 79);
/* oklch */ color: oklch(88.9% 0.156 96.8);
Tailwind
colors: {
  custom: {
    50: '#fee587',
    500: '#f8da4f',
    950: '#000000',
  },
}
SCSS
$custom: #f8da4f;
$custom-light: #fee587;
$custom-dark: #000000;
JSON
{
  "hex": "#f8da4f",
  "rgb": {
    "r": 248,
    "g": 218,
    "b": 79
  },
  "hsl": {
    "h": 49.349,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88926,
    "c": 0.15605,
    "h": 96.8
  },
  "luminance": 0.70664
}

Semantic roles & 50–950 ramp

primary
#F8DA4F
secondary
#2A45C2
accent
#29E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F8DA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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