#F8DA5B#F8DA5B

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

Color values

HEX#F8DA5B
RGBrgb(248, 218, 91)
HSLhsl(49, 92%, 66%)
HSVhsv(49, 63%, 97%)
CMYKcmyk(0%, 12.1%, 63.3%, 2.7%)
CIE-LABlab(87.42, -3.72, 64.40)
CIE-LCHlch(87.42, 64.51, 93.31°)
OKLaboklab(89.03% -0.0152 0.1467)
OKLCHoklch(89.03% 0.147 95.9)
XYZxyz(65.6741, 70.8578, 20.1132)
Luminance0.7086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DA5B #5B79F8
analogous
#F88C5B #F8DA5B #C8F85B
triadic
#F8DA5B #5BF8DA #DA5BF8
tetradic
#F8DA5B #5BF88C #5B79F8 #F85BC8
square
#F8DA5B #5BF88C #5B79F8 #F85BC8
split-complementary
#F8DA5B #5BC8F8 #8C5BF8
monochromatic
#D0AA09 #F5CD20 #F8DA5B #FBE796 #FDF4D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8DA5B#FFFFFF#000000##000000
##F8DA5B1.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)
#EFD64C
Deuteranopia (green-blind)
#F6DF61
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8da5b;
/* rgb */ color: rgb(248, 218, 91);
/* oklch */ color: oklch(89.0% 0.147 95.9);
Tailwind
colors: {
  custom: {
    50: '#fee58f',
    500: '#f8da5b',
    950: '#000000',
  },
}
SCSS
$custom: #f8da5b;
$custom-light: #fee58f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8da5b",
  "rgb": {
    "r": 248,
    "g": 218,
    "b": 91
  },
  "hsl": {
    "h": 48.535,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8903,
    "c": 0.14745,
    "h": 95.9
  },
  "luminance": 0.70855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8DA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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