#F8DB5D#F8DB5D

#F8DB5D is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 89.2% C 0.147 H 96.3°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#F8DB5D
RGBrgb(248, 219, 93)
HSLhsl(49, 92%, 67%)
HSVhsv(49, 63%, 97%)
CMYKcmyk(0%, 11.7%, 62.5%, 2.7%)
CIE-LABlab(87.69, -4.11, 63.84)
CIE-LCHlch(87.69, 63.97, 93.68°)
OKLaboklab(89.25% -0.0161 0.1458)
OKLCHoklch(89.25% 0.147 96.3)
XYZxyz(66.0216, 71.4130, 20.6603)
Luminance0.7141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB5D #5D7AF8
analogous
#F88E5D #F8DB5D #C8F85D
triadic
#F8DB5D #5DF8DB #DB5DF8
tetradic
#F8DB5D #5DF88E #5D7AF8 #F85DC8
square
#F8DB5D #5DF88E #5D7AF8 #F85DC8
split-complementary
#F8DB5D #5DC8F8 #8E5DF8
monochromatic
#D2AC09 #F5CE22 #F8DB5D #FBE898 #FDF5D2

Accessibility & contrast

On white

1.37
#F8DB5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.28
#F8DB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DB5D
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DB5D#FFFFFF#000000##000000
##F8DB5D1.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD64F
Deuteranopia (green-blind)
#F7E063
Tritanopia (blue-blind)
#FFCCC0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f8db5d;
/* rgb */ color: rgb(248, 219, 93);
/* oklch */ color: oklch(89.2% 0.147 96.3);
Tailwind
colors: {
  custom: {
    50: '#fee590',
    500: '#f8db5d',
    950: '#000000',
  },
}
SCSS
$custom: #f8db5d;
$custom-light: #fee590;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db5d",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 93
  },
  "hsl": {
    "h": 48.774,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89248,
    "c": 0.14665,
    "h": 96.3
  },
  "luminance": 0.7141
}

Semantic roles & 50–950 ramp

primary
#F8DB5D
secondary
#2D4BCD
accent
#2BE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8DB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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