#F8DB7A#F8DB7A

#F8DB7A is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.6% C 0.121 H 93.2°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#F8DB7A
RGBrgb(248, 219, 122)
HSLhsl(46, 90%, 73%)
HSVhsv(46, 51%, 97%)
CMYKcmyk(0%, 11.7%, 50.8%, 2.7%)
CIE-LABlab(87.98, -1.98, 50.97)
CIE-LCHlch(87.98, 51.00, 92.22°)
OKLaboklab(89.58% -0.0067 0.1212)
OKLCHoklch(89.58% 0.121 93.2)
XYZxyz(67.5582, 72.0276, 28.7527)
Luminance0.7202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB7A #7A97F8
analogous
#F89C7A #F8DB7A #D6F87A
triadic
#F8DB7A #7AF8DB #DB7AF8
tetradic
#F8DB7A #7AF89C #7A97F8 #F87AD6
square
#F8DB7A #7AF89C #7A97F8 #F87AD6
split-complementary
#F8DB7A #7AD6F8 #9C7AF8
monochromatic
#EBB80C #F5CB40 #F8DB7A #FBEBB4 #FDF7E2

Accessibility & contrast

On white

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

On black

15.41
#F8DB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DB7A
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DB7A#FFFFFF#000000##000000
##F8DB7A1.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD872
Deuteranopia (green-blind)
#F5E07E
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8db7a;
/* rgb */ color: rgb(248, 219, 122);
/* oklch */ color: oklch(89.6% 0.121 93.2);
Tailwind
colors: {
  custom: {
    50: '#fde5a2',
    500: '#f8db7a',
    950: '#000000',
  },
}
SCSS
$custom: #f8db7a;
$custom-light: #fde5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db7a",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 122
  },
  "hsl": {
    "h": 46.19,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.89578,
    "c": 0.12134,
    "h": 93.2
  },
  "luminance": 0.72025
}

Semantic roles & 50–950 ramp

primary
#F8DB7A
secondary
#4264D4
accent
#35E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F8DB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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