#F8DE7C#F8DE7C

#F8DE7C is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 90.2% C 0.122 H 94.9°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#F8DE7C
RGBrgb(248, 222, 124)
HSLhsl(47, 90%, 73%)
HSVhsv(47, 50%, 97%)
CMYKcmyk(0%, 10.5%, 50%, 2.7%)
CIE-LABlab(88.76, -3.33, 50.95)
CIE-LCHlch(88.76, 51.06, 93.74°)
OKLaboklab(90.2% -0.0104 0.1213)
OKLCHoklch(90.2% 0.122 94.9)
XYZxyz(68.4731, 73.6571, 29.6753)
Luminance0.7365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DE7C #7C96F8
analogous
#F8A07C #F8DE7C #D4F87C
triadic
#F8DE7C #7CF8DE #DE7CF8
tetradic
#F8DE7C #7CF8A0 #7C96F8 #F87CD4
square
#F8DE7C #7CF8A0 #7C96F8 #F87CD4
split-complementary
#F8DE7C #7CD4F8 #A07CF8
monochromatic
#EDBE0D #F5CF42 #F8DE7C #FBEDB6 #FDF8E2

Accessibility & contrast

On white

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

On black

15.73
#F8DE7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DE7C
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DE7C#FFFFFF#000000##000000
##F8DE7C1.001.3315.7315.73
#FFFFFF1.331.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA74
Deuteranopia (green-blind)
#F7E280
Tritanopia (blue-blind)
#FFD1C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f8de7c;
/* rgb */ color: rgb(248, 222, 124);
/* oklch */ color: oklch(90.2% 0.122 94.9);
Tailwind
colors: {
  custom: {
    50: '#fde8a4',
    500: '#f8de7c',
    950: '#000000',
  },
}
SCSS
$custom: #f8de7c;
$custom-light: #fde8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8de7c",
  "rgb": {
    "r": 248,
    "g": 222,
    "b": 124
  },
  "hsl": {
    "h": 47.419,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90201,
    "c": 0.12173,
    "h": 94.9
  },
  "luminance": 0.73654
}

Semantic roles & 50–950 ramp

primary
#F8DE7C
secondary
#4462D4
accent
#30E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F8DE7C

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

Preview Lab → · Contrast checker → · Palette generator →

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