#F8DE6C#F8DE6C

#F8DE6C is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 90.0% C 0.137 H 96.6°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#F8DE6C
RGBrgb(248, 222, 108)
HSLhsl(49, 91%, 70%)
HSVhsv(49, 56%, 97%)
CMYKcmyk(0%, 10.5%, 56.5%, 2.7%)
CIE-LABlab(88.58, -4.60, 58.22)
CIE-LCHlch(88.58, 58.40, 94.52°)
OKLaboklab(90% -0.0158 0.1356)
OKLCHoklch(90% 0.137 96.6)
XYZxyz(67.5421, 73.2847, 24.7721)
Luminance0.7328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DE6C #6C86F8
analogous
#F8986C #F8DE6C #CCF86C
triadic
#F8DE6C #6CF8DE #DE6CF8
tetradic
#F8DE6C #6CF898 #6C86F8 #F86CCC
square
#F8DE6C #6CF898 #6C86F8 #F86CCC
split-complementary
#F8DE6C #6CCCF8 #986CF8
monochromatic
#DFB80B #F5D132 #F8DE6C #FBEBA6 #FEF8E1

Accessibility & contrast

On white

1.34
#F8DE6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.66
#F8DE6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DE6C
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DE6C#FFFFFF#000000##000000
##F8DE6C1.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D961
Deuteranopia (green-blind)
#F8E271
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f8de6c;
/* rgb */ color: rgb(248, 222, 108);
/* oklch */ color: oklch(90.0% 0.137 96.6);
Tailwind
colors: {
  custom: {
    50: '#fde899',
    500: '#f8de6c',
    950: '#000000',
  },
}
SCSS
$custom: #f8de6c;
$custom-light: #fde899;
$custom-dark: #000000;
JSON
{
  "hex": "#f8de6c",
  "rgb": {
    "r": 248,
    "g": 222,
    "b": 108
  },
  "hsl": {
    "h": 48.857,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90004,
    "c": 0.13654,
    "h": 96.6
  },
  "luminance": 0.73282
}

Semantic roles & 50–950 ramp

primary
#F8DE6C
secondary
#3653D2
accent
#2BE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DE6C

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

Preview Lab → · Contrast checker → · Palette generator →

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