#F8DB6F#F8DB6F

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

Color values

HEX#F8DB6F
RGBrgb(248, 219, 111)
HSLhsl(47, 91%, 70%)
HSVhsv(47, 55%, 97%)
CMYKcmyk(0%, 11.7%, 55.2%, 2.7%)
CIE-LABlab(87.86, -2.86, 56.01)
CIE-LCHlch(87.86, 56.08, 92.93°)
OKLaboklab(89.44% -0.0104 0.1312)
OKLCHoklch(89.44% 0.132 94.6)
XYZxyz(66.9148, 71.7703, 25.3642)
Luminance0.7177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB6F #6F8CF8
analogous
#F8966F #F8DB6F #D1F86F
triadic
#F8DB6F #6FF8DB #DB6FF8
tetradic
#F8DB6F #6FF896 #6F8CF8 #F86FD1
square
#F8DB6F #6FF896 #6F8CF8 #F86FD1
split-complementary
#F8DB6F #6FD1F8 #966FF8
monochromatic
#E2B40B #F5CC35 #F8DB6F #FBEAA9 #FEF8E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8DB6F#FFFFFF#000000##000000
##F8DB6F1.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)
#EED765
Deuteranopia (green-blind)
#F6E074
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f8db6f;
/* rgb */ color: rgb(248, 219, 111);
/* oklch */ color: oklch(89.4% 0.132 94.6);
Tailwind
colors: {
  custom: {
    50: '#fde59b',
    500: '#f8db6f',
    950: '#000000',
  },
}
SCSS
$custom: #f8db6f;
$custom-light: #fde59b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db6f",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 111
  },
  "hsl": {
    "h": 47.299,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.8944,
    "c": 0.13157,
    "h": 94.6
  },
  "luminance": 0.71767
}

Semantic roles & 50–950 ramp

primary
#F8DB6F
secondary
#3859D3
accent
#31E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8DB6F

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

Preview Lab → · Contrast checker → · Palette generator →

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