#F8DB70#F8DB70

#F8DB70 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.5% C 0.131 H 94.4°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#F8DB70
RGBrgb(248, 219, 112)
HSLhsl(47, 91%, 71%)
HSVhsv(47, 55%, 97%)
CMYKcmyk(0%, 11.7%, 54.8%, 2.7%)
CIE-LABlab(87.87, -2.79, 55.55)
CIE-LCHlch(87.87, 55.62, 92.87°)
OKLaboklab(89.45% -0.0101 0.1303)
OKLCHoklch(89.45% 0.131 94.4)
XYZxyz(66.9701, 71.7924, 25.6558)
Luminance0.7179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB70 #708DF8
analogous
#F89770 #F8DB70 #D1F870
triadic
#F8DB70 #70F8DB #DB70F8
tetradic
#F8DB70 #70F897 #708DF8 #F870D1
square
#F8DB70 #70F897 #708DF8 #F870D1
split-complementary
#F8DB70 #70D1F8 #9770F8
monochromatic
#E3B50B #F5CC36 #F8DB70 #FBEAAA #FEF8E2

Accessibility & contrast

On white

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

On black

15.36
#F8DB70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DB70
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DB70#FFFFFF#000000##000000
##F8DB701.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED766
Deuteranopia (green-blind)
#F6E075
Tritanopia (blue-blind)
#FFCDC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f8db70;
/* rgb */ color: rgb(248, 219, 112);
/* oklch */ color: oklch(89.5% 0.131 94.4);
Tailwind
colors: {
  custom: {
    50: '#fde59c',
    500: '#f8db70',
    950: '#000000',
  },
}
SCSS
$custom: #f8db70;
$custom-light: #fde59c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db70",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 112
  },
  "hsl": {
    "h": 47.206,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89452,
    "c": 0.13066,
    "h": 94.4
  },
  "luminance": 0.71789
}

Semantic roles & 50–950 ramp

primary
#F8DB70
secondary
#395AD3
accent
#31E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8DB70

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

Preview Lab → · Contrast checker → · Palette generator →

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