#F8DF6B#F8DF6B

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

Color values

HEX#F8DF6B
RGBrgb(248, 223, 107)
HSLhsl(49, 91%, 70%)
HSVhsv(49, 57%, 97%)
CMYKcmyk(0%, 10.1%, 56.9%, 2.7%)
CIE-LABlab(88.83, -5.18, 58.95)
CIE-LCHlch(88.83, 59.18, 95.02°)
OKLaboklab(90.19% -0.0176 0.1371)
OKLCHoklch(90.19% 0.138 97.3)
XYZxyz(67.7555, 73.7963, 24.5822)
Luminance0.7379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF6B #6B84F8
analogous
#F8996B #F8DF6B #CAF86B
triadic
#F8DF6B #6BF8DF #DF6BF8
tetradic
#F8DF6B #6BF899 #6B84F8 #F86BCA
square
#F8DF6B #6BF899 #6B84F8 #F86BCA
split-complementary
#F8DF6B #6BCAF8 #996BF8
monochromatic
#DEB90B #F5D231 #F8DF6B #FBECA5 #FEF8E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8DF6B#FFFFFF#000000##000000
##F8DF6B1.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)
#F2DA5F
Deuteranopia (green-blind)
#F9E370
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f8df6b;
/* rgb */ color: rgb(248, 223, 107);
/* oklch */ color: oklch(90.2% 0.138 97.3);
Tailwind
colors: {
  custom: {
    50: '#fde899',
    500: '#f8df6b',
    950: '#000000',
  },
}
SCSS
$custom: #f8df6b;
$custom-light: #fde899;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df6b",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 107
  },
  "hsl": {
    "h": 49.362,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90193,
    "c": 0.1382,
    "h": 97.3
  },
  "luminance": 0.73793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8DF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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