#F8DB6A#F8DB6A

#F8DB6A is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.4% C 0.136 H 95.1°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#F8DB6A
RGBrgb(248, 219, 106)
HSLhsl(48, 91%, 69%)
HSVhsv(48, 57%, 97%)
CMYKcmyk(0%, 11.7%, 57.3%, 2.7%)
CIE-LABlab(87.81, -3.23, 58.24)
CIE-LCHlch(87.81, 58.33, 93.18°)
OKLaboklab(89.38% -0.0121 0.1354)
OKLCHoklch(89.38% 0.136 95.1)
XYZxyz(66.6471, 71.6632, 23.9547)
Luminance0.7166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB6A #6A87F8
analogous
#F8946A #F8DB6A #CEF86A
triadic
#F8DB6A #6AF8DB #DB6AF8
tetradic
#F8DB6A #6AF894 #6A87F8 #F86ACE
square
#F8DB6A #6AF894 #6A87F8 #F86ACE
split-complementary
#F8DB6A #6ACEF8 #946AF8
monochromatic
#DDB20A #F5CD30 #F8DB6A #FBE9A4 #FDF7DF

Accessibility & contrast

On white

1.37
#F8DB6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.33
#F8DB6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DB6A
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DB6A#FFFFFF#000000##000000
##F8DB6A1.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED75F
Deuteranopia (green-blind)
#F6E06F
Tritanopia (blue-blind)
#FFCCC2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f8db6a;
/* rgb */ color: rgb(248, 219, 106);
/* oklch */ color: oklch(89.4% 0.136 95.1);
Tailwind
colors: {
  custom: {
    50: '#fde598',
    500: '#f8db6a',
    950: '#000000',
  },
}
SCSS
$custom: #f8db6a;
$custom-light: #fde598;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db6a",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 106
  },
  "hsl": {
    "h": 47.746,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89383,
    "c": 0.13597,
    "h": 95.1
  },
  "luminance": 0.7166
}

Semantic roles & 50–950 ramp

primary
#F8DB6A
secondary
#3454D2
accent
#2FE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8DB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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