#F8DE6A#F8DE6A

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

Color values

HEX#F8DE6A
RGBrgb(248, 222, 106)
HSLhsl(49, 91%, 69%)
HSVhsv(49, 57%, 97%)
CMYKcmyk(0%, 10.5%, 57.3%, 2.7%)
CIE-LABlab(88.56, -4.75, 59.10)
CIE-LCHlch(88.56, 59.29, 94.60°)
OKLaboklab(89.98% -0.0165 0.1373)
OKLCHoklch(89.98% 0.138 96.8)
XYZxyz(67.4368, 73.2426, 24.2179)
Luminance0.7324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DE6A #6A84F8
analogous
#F8976A #F8DE6A #CBF86A
triadic
#F8DE6A #6AF8DE #DE6AF8
tetradic
#F8DE6A #6AF897 #6A84F8 #F86ACB
square
#F8DE6A #6AF897 #6A84F8 #F86ACB
split-complementary
#F8DE6A #6ACBF8 #976AF8
monochromatic
#DDB70A #F5D130 #F8DE6A #FBEBA4 #FDF8DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8DE6A#FFFFFF#000000##000000
##F8DE6A1.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)
#F1D95E
Deuteranopia (green-blind)
#F8E26F
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f8de6a;
/* rgb */ color: rgb(248, 222, 106);
/* oklch */ color: oklch(90.0% 0.138 96.8);
Tailwind
colors: {
  custom: {
    50: '#fde898',
    500: '#f8de6a',
    950: '#000000',
  },
}
SCSS
$custom: #f8de6a;
$custom-light: #fde898;
$custom-dark: #000000;
JSON
{
  "hex": "#f8de6a",
  "rgb": {
    "r": 248,
    "g": 222,
    "b": 106
  },
  "hsl": {
    "h": 49.014,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89982,
    "c": 0.13827,
    "h": 96.8
  },
  "luminance": 0.7324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8DE6A

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

Preview Lab → · Contrast checker → · Palette generator →

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