#F8DB64#F8DB64

#F8DB64 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.3% C 0.141 H 95.7°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#F8DB64
RGBrgb(248, 219, 100)
HSLhsl(48, 91%, 68%)
HSVhsv(48, 60%, 97%)
CMYKcmyk(0%, 11.7%, 59.7%, 2.7%)
CIE-LABlab(87.75, -3.65, 60.86)
CIE-LCHlch(87.75, 60.97, 93.44°)
OKLaboklab(89.32% -0.014 0.1404)
OKLCHoklch(89.32% 0.141 95.7)
XYZxyz(66.3460, 71.5427, 22.3686)
Luminance0.7154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB64 #6481F8
analogous
#F89164 #F8DB64 #CBF864
triadic
#F8DB64 #64F8DB #DB64F8
tetradic
#F8DB64 #64F891 #6481F8 #F864CB
square
#F8DB64 #64F891 #6481F8 #F864CB
split-complementary
#F8DB64 #64CBF8 #9164F8
monochromatic
#D8AF0A #F5CD29 #F8DB64 #FBE99F #FDF6D9

Accessibility & contrast

On white

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

On black

15.31
#F8DB64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DB64
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DB64#FFFFFF#000000##000000
##F8DB641.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD757
Deuteranopia (green-blind)
#F6E06A
Tritanopia (blue-blind)
#FFCCC1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f8db64;
/* rgb */ color: rgb(248, 219, 100);
/* oklch */ color: oklch(89.3% 0.141 95.7);
Tailwind
colors: {
  custom: {
    50: '#fee594',
    500: '#f8db64',
    950: '#000000',
  },
}
SCSS
$custom: #f8db64;
$custom-light: #fee594;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db64",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 100
  },
  "hsl": {
    "h": 48.243,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.89318,
    "c": 0.14105,
    "h": 95.7
  },
  "luminance": 0.7154
}

Semantic roles & 50–950 ramp

primary
#F8DB64
secondary
#2F4FD1
accent
#2DE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8DB64

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

Preview Lab → · Contrast checker → · Palette generator →

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