#F8D770#F8D770

#F8D770 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.7% C 0.128 H 91.9°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#F8D770
RGBrgb(248, 215, 112)
HSLhsl(45, 91%, 71%)
HSVhsv(45, 55%, 97%)
CMYKcmyk(0%, 13.3%, 54.8%, 2.7%)
CIE-LABlab(86.86, -0.75, 54.38)
CIE-LCHlch(86.86, 54.38, 90.79°)
OKLaboklab(88.66% -0.0042 0.1277)
OKLCHoklch(88.66% 0.128 91.9)
XYZxyz(65.9391, 69.7304, 25.3122)
Luminance0.6973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D770 #7091F8
analogous
#F89370 #F8D770 #D5F870
triadic
#F8D770 #70F8D7 #D770F8
tetradic
#F8D770 #70F893 #7091F8 #F870D5
square
#F8D770 #70F893 #7091F8 #F870D5
split-complementary
#F8D770 #70D5F8 #9370F8
monochromatic
#E3AE0B #F5C736 #F8D770 #FBE7AA #FEF7E2

Accessibility & contrast

On white

1.41
#F8D770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.95
#F8D770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D770
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D770#FFFFFF#000000##000000
##F8D7701.001.4114.9514.95
#FFFFFF1.411.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD466
Deuteranopia (green-blind)
#F3DE74
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f8d770;
/* rgb */ color: rgb(248, 215, 112);
/* oklch */ color: oklch(88.7% 0.128 91.9);
Tailwind
colors: {
  custom: {
    50: '#fde39c',
    500: '#f8d770',
    950: '#000000',
  },
}
SCSS
$custom: #f8d770;
$custom-light: #fde39c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d770",
  "rgb": {
    "r": 248,
    "g": 215,
    "b": 112
  },
  "hsl": {
    "h": 45.441,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88659,
    "c": 0.12779,
    "h": 91.9
  },
  "luminance": 0.69727
}

Semantic roles & 50–950 ramp

primary
#F8D770
secondary
#395FD3
accent
#38E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D770

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

Preview Lab → · Contrast checker → · Palette generator →

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