#F8DE5F#F8DE5F

#F8DE5F is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.9% C 0.147 H 97.7°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#F8DE5F
RGBrgb(248, 222, 95)
HSLhsl(50, 92%, 67%)
HSVhsv(50, 62%, 97%)
CMYKcmyk(0%, 10.5%, 61.7%, 2.7%)
CIE-LABlab(88.46, -5.49, 63.83)
CIE-LCHlch(88.46, 64.07, 94.92°)
OKLaboklab(89.87% -0.0198 0.146)
OKLCHoklch(89.87% 0.147 97.7)
XYZxyz(66.9011, 73.0283, 21.3962)
Luminance0.7302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DE5F #5F79F8
analogous
#F8925F #F8DE5F #C6F85F
triadic
#F8DE5F #5FF8DE #DE5FF8
tetradic
#F8DE5F #5FF892 #5F79F8 #F85FC6
square
#F8DE5F #5FF892 #5F79F8 #F85FC6
split-complementary
#F8DE5F #5FC6F8 #925FF8
monochromatic
#D3B109 #F5D224 #F8DE5F #FBEA9A #FDF6D4

Accessibility & contrast

On white

1.35
#F8DE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.60
#F8DE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DE5F
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DE5F#FFFFFF#000000##000000
##F8DE5F1.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D951
Deuteranopia (green-blind)
#F9E265
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f8de5f;
/* rgb */ color: rgb(248, 222, 95);
/* oklch */ color: oklch(89.9% 0.147 97.7);
Tailwind
colors: {
  custom: {
    50: '#fee891',
    500: '#f8de5f',
    950: '#000000',
  },
}
SCSS
$custom: #f8de5f;
$custom-light: #fee891;
$custom-dark: #000000;
JSON
{
  "hex": "#f8de5f",
  "rgb": {
    "r": 248,
    "g": 222,
    "b": 95
  },
  "hsl": {
    "h": 49.804,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.89868,
    "c": 0.14735,
    "h": 97.7
  },
  "luminance": 0.73025
}

Semantic roles & 50–950 ramp

primary
#F8DE5F
secondary
#2D48CE
accent
#27E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F8DE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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