#F8DE6B#F8DE6B

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

Color values

HEX#F8DE6B
RGBrgb(248, 222, 107)
HSLhsl(49, 91%, 70%)
HSVhsv(49, 57%, 97%)
CMYKcmyk(0%, 10.5%, 56.9%, 2.7%)
CIE-LABlab(88.57, -4.68, 58.66)
CIE-LCHlch(88.57, 58.85, 94.56°)
OKLaboklab(89.99% -0.0161 0.1365)
OKLCHoklch(89.99% 0.137 96.7)
XYZxyz(67.4891, 73.2635, 24.4934)
Luminance0.7326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DE6B #6B85F8
analogous
#F8986B #F8DE6B #CCF86B
triadic
#F8DE6B #6BF8DE #DE6BF8
tetradic
#F8DE6B #6BF898 #6B85F8 #F86BCC
square
#F8DE6B #6BF898 #6B85F8 #F86BCC
split-complementary
#F8DE6B #6BCCF8 #986BF8
monochromatic
#DEB70B #F5D131 #F8DE6B #FBEBA5 #FEF8E0

Accessibility & contrast

On white

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

On black

15.65
#F8DE6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DE6B
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DE6B#FFFFFF#000000##000000
##F8DE6B1.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8de6b;
/* rgb */ color: rgb(248, 222, 107);
/* oklch */ color: oklch(90.0% 0.137 96.7);
Tailwind
colors: {
  custom: {
    50: '#fde899',
    500: '#f8de6b',
    950: '#000000',
  },
}
SCSS
$custom: #f8de6b;
$custom-light: #fde899;
$custom-dark: #000000;
JSON
{
  "hex": "#f8de6b",
  "rgb": {
    "r": 248,
    "g": 222,
    "b": 107
  },
  "hsl": {
    "h": 48.936,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89993,
    "c": 0.13741,
    "h": 96.7
  },
  "luminance": 0.73261
}

Semantic roles & 50–950 ramp

primary
#F8DE6B
secondary
#3552D2
accent
#2AE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8DE6B

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

Preview Lab → · Contrast checker → · Palette generator →

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