#F8DF6F#F8DF6F

#F8DF6F is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 90.2% C 0.135 H 96.9°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#F8DF6F
RGBrgb(248, 223, 111)
HSLhsl(49, 91%, 70%)
HSVhsv(49, 55%, 97%)
CMYKcmyk(0%, 10.1%, 55.2%, 2.7%)
CIE-LABlab(88.87, -4.88, 57.18)
CIE-LCHlch(88.87, 57.39, 94.88°)
OKLaboklab(90.24% -0.0163 0.1337)
OKLCHoklch(90.24% 0.135 96.9)
XYZxyz(67.9709, 73.8824, 25.7163)
Luminance0.7388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF6F #6F88F8
analogous
#F89A6F #F8DF6F #CCF86F
triadic
#F8DF6F #6FF8DF #DF6FF8
tetradic
#F8DF6F #6FF89A #6F88F8 #F86FCC
square
#F8DF6F #6FF89A #6F88F8 #F86FCC
split-complementary
#F8DF6F #6FCCF8 #9A6FF8
monochromatic
#E2BA0B #F5D235 #F8DF6F #FBECA9 #FEF9E2

Accessibility & contrast

On white

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

On black

15.78
#F8DF6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF6F
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF6F#FFFFFF#000000##000000
##F8DF6F1.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA64
Deuteranopia (green-blind)
#F9E374
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f8df6f;
/* rgb */ color: rgb(248, 223, 111);
/* oklch */ color: oklch(90.2% 0.135 96.9);
Tailwind
colors: {
  custom: {
    50: '#fde89b',
    500: '#f8df6f',
    950: '#000000',
  },
}
SCSS
$custom: #f8df6f;
$custom-light: #fde89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df6f",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 111
  },
  "hsl": {
    "h": 49.051,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90238,
    "c": 0.13468,
    "h": 96.9
  },
  "luminance": 0.7388
}

Semantic roles & 50–950 ramp

primary
#F8DF6F
secondary
#3855D3
accent
#2AE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DF6F

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

Preview Lab → · Contrast checker → · Palette generator →

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