#F8DF68#F8DF68

#F8DF68 is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 90.2% C 0.141 H 97.6°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#F8DF68
RGBrgb(248, 223, 104)
HSLhsl(50, 91%, 69%)
HSVhsv(50, 58%, 97%)
CMYKcmyk(0%, 10.1%, 58.1%, 2.7%)
CIE-LABlab(88.80, -5.40, 60.27)
CIE-LCHlch(88.80, 60.51, 95.12°)
OKLaboklab(90.16% -0.0185 0.1396)
OKLCHoklch(90.16% 0.141 97.6)
XYZxyz(67.6004, 73.7343, 23.7654)
Luminance0.7373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF68 #6881F8
analogous
#F89768 #F8DF68 #C9F868
triadic
#F8DF68 #68F8DF #DF68F8
tetradic
#F8DF68 #68F897 #6881F8 #F868C9
square
#F8DF68 #68F897 #6881F8 #F868C9
split-complementary
#F8DF68 #68C9F8 #9768F8
monochromatic
#DBB70A #F5D32E #F8DF68 #FBEBA2 #FDF8DD

Accessibility & contrast

On white

1.33
#F8DF68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#F8DF68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF68
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF68#FFFFFF#000000##000000
##F8DF681.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA5C
Deuteranopia (green-blind)
#F9E36E
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f8df68;
/* rgb */ color: rgb(248, 223, 104);
/* oklch */ color: oklch(90.2% 0.141 97.6);
Tailwind
colors: {
  custom: {
    50: '#fde897',
    500: '#f8df68',
    950: '#000000',
  },
}
SCSS
$custom: #f8df68;
$custom-light: #fde897;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df68",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 104
  },
  "hsl": {
    "h": 49.583,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.9016,
    "c": 0.14078,
    "h": 97.6
  },
  "luminance": 0.73731
}

Semantic roles & 50–950 ramp

primary
#F8DF68
secondary
#324ED2
accent
#28E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DF68

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

Preview Lab → · Contrast checker → · Palette generator →

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