#F8DB6D#F8DB6D

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

Color values

HEX#F8DB6D
RGBrgb(248, 219, 109)
HSLhsl(47, 91%, 70%)
HSVhsv(47, 56%, 97%)
CMYKcmyk(0%, 11.7%, 56%, 2.7%)
CIE-LABlab(87.84, -3.01, 56.90)
CIE-LCHlch(87.84, 56.98, 93.03°)
OKLaboklab(89.42% -0.0111 0.1329)
OKLCHoklch(89.42% 0.133 94.8)
XYZxyz(66.8059, 71.7267, 24.7908)
Luminance0.7172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB6D #6D8AF8
analogous
#F8956D #F8DB6D #D0F86D
triadic
#F8DB6D #6DF8DB #DB6DF8
tetradic
#F8DB6D #6DF895 #6D8AF8 #F86DD0
square
#F8DB6D #6DF895 #6D8AF8 #F86DD0
split-complementary
#F8DB6D #6DD0F8 #956DF8
monochromatic
#E0B30B #F5CD33 #F8DB6D #FBE9A7 #FEF8E2

Accessibility & contrast

On white

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

On black

15.34
#F8DB6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DB6D
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DB6D#FFFFFF#000000##000000
##F8DB6D1.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED762
Deuteranopia (green-blind)
#F6E072
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f8db6d;
/* rgb */ color: rgb(248, 219, 109);
/* oklch */ color: oklch(89.4% 0.133 94.8);
Tailwind
colors: {
  custom: {
    50: '#fde59a',
    500: '#f8db6d',
    950: '#000000',
  },
}
SCSS
$custom: #f8db6d;
$custom-light: #fde59a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db6d",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 109
  },
  "hsl": {
    "h": 47.482,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.89417,
    "c": 0.13334,
    "h": 94.8
  },
  "luminance": 0.71724
}

Semantic roles & 50–950 ramp

primary
#F8DB6D
secondary
#3757D2
accent
#30E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8DB6D

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

Preview Lab → · Contrast checker → · Palette generator →

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