#F8DA5C#F8DA5C

#F8DA5C is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 89.0% C 0.147 H 95.8°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#F8DA5C
RGBrgb(248, 218, 92)
HSLhsl(48, 92%, 67%)
HSVhsv(48, 63%, 97%)
CMYKcmyk(0%, 12.1%, 62.9%, 2.7%)
CIE-LABlab(87.42, -3.66, 63.98)
CIE-LCHlch(87.42, 64.09, 93.28°)
OKLaboklab(89.04% -0.0149 0.1459)
OKLCHoklch(89.04% 0.147 95.8)
XYZxyz(65.7175, 70.8752, 20.3419)
Luminance0.7087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DA5C #5C7AF8
analogous
#F88C5C #F8DA5C #C8F85C
triadic
#F8DA5C #5CF8DA #DA5CF8
tetradic
#F8DA5C #5CF88C #5C7AF8 #F85CC8
square
#F8DA5C #5CF88C #5C7AF8 #F85CC8
split-complementary
#F8DA5C #5CC8F8 #8C5CF8
monochromatic
#D1AA09 #F5CD21 #F8DA5C #FBE797 #FDF5D1

Accessibility & contrast

On white

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

On black

15.17
#F8DA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DA5C
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DA5C#FFFFFF#000000##000000
##F8DA5C1.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED64E
Deuteranopia (green-blind)
#F6DF62
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8da5c;
/* rgb */ color: rgb(248, 218, 92);
/* oklch */ color: oklch(89.0% 0.147 95.8);
Tailwind
colors: {
  custom: {
    50: '#fee58f',
    500: '#f8da5c',
    950: '#000000',
  },
}
SCSS
$custom: #f8da5c;
$custom-light: #fee58f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8da5c",
  "rgb": {
    "r": 248,
    "g": 218,
    "b": 92
  },
  "hsl": {
    "h": 48.462,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.89039,
    "c": 0.14669,
    "h": 95.8
  },
  "luminance": 0.70872
}

Semantic roles & 50–950 ramp

primary
#F8DA5C
secondary
#2C4BCC
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8DA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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