#F8DC68#F8DC68

#F8DC68 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.6% C 0.138 H 95.9°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#F8DC68
RGBrgb(248, 220, 104)
HSLhsl(48, 91%, 69%)
HSVhsv(48, 58%, 97%)
CMYKcmyk(0%, 11.3%, 58.1%, 2.7%)
CIE-LABlab(88.04, -3.88, 59.41)
CIE-LCHlch(88.04, 59.53, 93.74°)
OKLaboklab(89.56% -0.0142 0.1377)
OKLCHoklch(89.56% 0.138 95.9)
XYZxyz(66.8060, 72.1454, 23.5006)
Luminance0.7214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC68 #6884F8
analogous
#F89468 #F8DC68 #CCF868
triadic
#F8DC68 #68F8DC #DC68F8
tetradic
#F8DC68 #68F894 #6884F8 #F868CC
square
#F8DC68 #68F894 #6884F8 #F868CC
split-complementary
#F8DC68 #68CCF8 #9468F8
monochromatic
#DBB30A #F5CE2E #F8DC68 #FBEAA2 #FDF7DD

Accessibility & contrast

On white

1.36
#F8DC68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.43
#F8DC68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DC68
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DC68#FFFFFF#000000##000000
##F8DC681.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D85C
Deuteranopia (green-blind)
#F7E16D
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8dc68;
/* rgb */ color: rgb(248, 220, 104);
/* oklch */ color: oklch(89.6% 0.138 95.9);
Tailwind
colors: {
  custom: {
    50: '#fee697',
    500: '#f8dc68',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc68;
$custom-light: #fee697;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc68",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 104
  },
  "hsl": {
    "h": 48.333,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8956,
    "c": 0.13844,
    "h": 95.9
  },
  "luminance": 0.72142
}

Semantic roles & 50–950 ramp

primary
#F8DC68
secondary
#3251D2
accent
#2DE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8DC68

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

Preview Lab → · Contrast checker → · Palette generator →

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