#F8DF6C#F8DF6C

#F8DF6C is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.2% C 0.137 H 97.2°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#F8DF6C
RGBrgb(248, 223, 108)
HSLhsl(49, 91%, 70%)
HSVhsv(49, 56%, 97%)
CMYKcmyk(0%, 10.1%, 56.5%, 2.7%)
CIE-LABlab(88.84, -5.11, 58.51)
CIE-LCHlch(88.84, 58.73, 94.99°)
OKLaboklab(90.2% -0.0173 0.1362)
OKLCHoklch(90.2% 0.137 97.2)
XYZxyz(67.8084, 73.8175, 24.8609)
Luminance0.7381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF6C #6C85F8
analogous
#F8996C #F8DF6C #CBF86C
triadic
#F8DF6C #6CF8DF #DF6CF8
tetradic
#F8DF6C #6CF899 #6C85F8 #F86CCB
square
#F8DF6C #6CF899 #6C85F8 #F86CCB
split-complementary
#F8DF6C #6CCBF8 #996CF8
monochromatic
#DFB90B #F5D232 #F8DF6C #FBECA6 #FEF8E1

Accessibility & contrast

On white

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

On black

15.76
#F8DF6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF6C
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF6C#FFFFFF#000000##000000
##F8DF6C1.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA61
Deuteranopia (green-blind)
#F9E371
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f8df6c;
/* rgb */ color: rgb(248, 223, 108);
/* oklch */ color: oklch(90.2% 0.137 97.2);
Tailwind
colors: {
  custom: {
    50: '#fde899',
    500: '#f8df6c',
    950: '#000000',
  },
}
SCSS
$custom: #f8df6c;
$custom-light: #fde899;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df6c",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 108
  },
  "hsl": {
    "h": 49.286,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90204,
    "c": 0.13733,
    "h": 97.2
  },
  "luminance": 0.73815
}

Semantic roles & 50–950 ramp

primary
#F8DF6C
secondary
#3652D2
accent
#29E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DF6C

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

Preview Lab → · Contrast checker → · Palette generator →

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