#F8DF6A#F8DF6A

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

Color values

HEX#F8DF6A
RGBrgb(248, 223, 106)
HSLhsl(49, 91%, 69%)
HSVhsv(49, 57%, 97%)
CMYKcmyk(0%, 10.1%, 57.3%, 2.7%)
CIE-LABlab(88.82, -5.25, 59.39)
CIE-LCHlch(88.82, 59.62, 95.06°)
OKLaboklab(90.18% -0.0179 0.1379)
OKLCHoklch(90.18% 0.139 97.4)
XYZxyz(67.7032, 73.7754, 24.3067)
Luminance0.7377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF6A #6A83F8
analogous
#F8986A #F8DF6A #CAF86A
triadic
#F8DF6A #6AF8DF #DF6AF8
tetradic
#F8DF6A #6AF898 #6A83F8 #F86ACA
square
#F8DF6A #6AF898 #6A83F8 #F86ACA
split-complementary
#F8DF6A #6ACAF8 #986AF8
monochromatic
#DDB80A #F5D230 #F8DF6A #FBECA4 #FDF8DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8DF6A#FFFFFF#000000##000000
##F8DF6A1.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)
#F2DA5E
Deuteranopia (green-blind)
#F9E36F
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f8df6a;
/* rgb */ color: rgb(248, 223, 106);
/* oklch */ color: oklch(90.2% 0.139 97.4);
Tailwind
colors: {
  custom: {
    50: '#fde898',
    500: '#f8df6a',
    950: '#000000',
  },
}
SCSS
$custom: #f8df6a;
$custom-light: #fde898;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df6a",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 106
  },
  "hsl": {
    "h": 49.437,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90182,
    "c": 0.13907,
    "h": 97.4
  },
  "luminance": 0.73772
}

Semantic roles & 50–950 ramp

primary
#F8DF6A
secondary
#3450D2
accent
#28E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DF6A

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

Preview Lab → · Contrast checker → · Palette generator →

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