#F8DF6E#F8DF6E

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

Color values

HEX#F8DF6E
RGBrgb(248, 223, 110)
HSLhsl(49, 91%, 70%)
HSVhsv(49, 56%, 97%)
CMYKcmyk(0%, 10.1%, 55.6%, 2.7%)
CIE-LABlab(88.86, -4.96, 57.62)
CIE-LCHlch(88.86, 57.84, 94.92°)
OKLaboklab(90.23% -0.0166 0.1346)
OKLCHoklch(90.23% 0.136 97)
XYZxyz(67.9161, 73.8605, 25.4279)
Luminance0.7386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF6E #6E87F8
analogous
#F89A6E #F8DF6E #CCF86E
triadic
#F8DF6E #6EF8DF #DF6EF8
tetradic
#F8DF6E #6EF89A #6E87F8 #F86ECC
square
#F8DF6E #6EF89A #6E87F8 #F86ECC
split-complementary
#F8DF6E #6ECCF8 #9A6EF8
monochromatic
#E1BA0B #F5D234 #F8DF6E #FBECA8 #FEF9E2

Accessibility & contrast

On white

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

On black

15.77
#F8DF6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF6E
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF6E#FFFFFF#000000##000000
##F8DF6E1.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8df6e;
/* rgb */ color: rgb(248, 223, 110);
/* oklch */ color: oklch(90.2% 0.136 97.0);
Tailwind
colors: {
  custom: {
    50: '#fde89b',
    500: '#f8df6e',
    950: '#000000',
  },
}
SCSS
$custom: #f8df6e;
$custom-light: #fde89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df6e",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 110
  },
  "hsl": {
    "h": 49.13,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90227,
    "c": 0.13557,
    "h": 97
  },
  "luminance": 0.73858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8DF6E

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

Preview Lab → · Contrast checker → · Palette generator →

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