#F8DB7D#F8DB7D

#F8DB7D is a very light, moderate yellow. Relative luminance 0.721; OKLCH L 89.6% C 0.118 H 92.7°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#F8DB7D
RGBrgb(248, 219, 125)
HSLhsl(46, 90%, 73%)
HSVhsv(46, 50%, 97%)
CMYKcmyk(0%, 11.7%, 49.6%, 2.7%)
CIE-LABlab(88.02, -1.72, 49.57)
CIE-LCHlch(88.02, 49.60, 91.99°)
OKLaboklab(89.62% -0.0056 0.1183)
OKLCHoklch(89.62% 0.118 92.7)
XYZxyz(67.7469, 72.1031, 29.7468)
Luminance0.7210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB7D #7D9AF8
analogous
#F89D7D #F8DB7D #D7F87D
triadic
#F8DB7D #7DF8DB #DB7DF8
tetradic
#F8DB7D #7DF89D #7D9AF8 #F87DD7
square
#F8DB7D #7DF89D #7D9AF8 #F87DD7
split-complementary
#F8DB7D #7DD7F8 #9D7DF8
monochromatic
#EEB90D #F5CB43 #F8DB7D #FBEBB7 #FDF7E2

Accessibility & contrast

On white

1.36
#F8DB7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.42
#F8DB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DB7D
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DB7D#FFFFFF#000000##000000
##F8DB7D1.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD875
Deuteranopia (green-blind)
#F4E081
Tritanopia (blue-blind)
#FFCEC5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8db7d;
/* rgb */ color: rgb(248, 219, 125);
/* oklch */ color: oklch(89.6% 0.118 92.7);
Tailwind
colors: {
  custom: {
    50: '#fde5a4',
    500: '#f8db7d',
    950: '#000000',
  },
}
SCSS
$custom: #f8db7d;
$custom-light: #fde5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db7d",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 125
  },
  "hsl": {
    "h": 45.854,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.89619,
    "c": 0.11844,
    "h": 92.7
  },
  "luminance": 0.721
}

Semantic roles & 50–950 ramp

primary
#F8DB7D
secondary
#4567D4
accent
#36E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F8DB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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