#F8DB6E#F8DB6E

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

Color values

HEX#F8DB6E
RGBrgb(248, 219, 110)
HSLhsl(47, 91%, 70%)
HSVhsv(47, 56%, 97%)
CMYKcmyk(0%, 11.7%, 55.6%, 2.7%)
CIE-LABlab(87.85, -2.94, 56.46)
CIE-LCHlch(87.85, 56.53, 92.98°)
OKLaboklab(89.43% -0.0108 0.132)
OKLCHoklch(89.43% 0.132 94.7)
XYZxyz(66.8600, 71.7484, 25.0759)
Luminance0.7175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB6E #6E8BF8
analogous
#F8966E #F8DB6E #D0F86E
triadic
#F8DB6E #6EF8DB #DB6EF8
tetradic
#F8DB6E #6EF896 #6E8BF8 #F86ED0
square
#F8DB6E #6EF896 #6E8BF8 #F86ED0
split-complementary
#F8DB6E #6ED0F8 #966EF8
monochromatic
#E1B40B #F5CD34 #F8DB6E #FBE9A8 #FEF8E2

Accessibility & contrast

On white

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

On black

15.35
#F8DB6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DB6E
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DB6E#FFFFFF#000000##000000
##F8DB6E1.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8db6e;
/* rgb */ color: rgb(248, 219, 110);
/* oklch */ color: oklch(89.4% 0.132 94.7);
Tailwind
colors: {
  custom: {
    50: '#fde59a',
    500: '#f8db6e',
    950: '#000000',
  },
}
SCSS
$custom: #f8db6e;
$custom-light: #fde59a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db6e",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 110
  },
  "hsl": {
    "h": 47.391,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89429,
    "c": 0.13246,
    "h": 94.7
  },
  "luminance": 0.71745
}

Semantic roles & 50–950 ramp

primary
#F8DB6E
secondary
#3858D3
accent
#30E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8DB6E

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

Preview Lab → · Contrast checker → · Palette generator →

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