#F8D855#F8D855

#F8D855 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.6% C 0.150 H 95.3°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#F8D855
RGBrgb(248, 216, 85)
HSLhsl(48, 92%, 65%)
HSVhsv(48, 66%, 97%)
CMYKcmyk(0%, 12.9%, 65.7%, 2.7%)
CIE-LABlab(86.86, -3.06, 66.31)
CIE-LCHlch(86.86, 66.38, 92.64°)
OKLaboklab(88.58% -0.014 0.1498)
OKLCHoklch(88.58% 0.15 95.3)
XYZxyz(64.9100, 69.7274, 18.6323)
Luminance0.6972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D855 #5575F8
analogous
#F88755 #F8D855 #C6F855
triadic
#F8D855 #55F8D8 #D855F8
tetradic
#F8D855 #55F887 #5575F8 #F855C6
square
#F8D855 #55F887 #5575F8 #F855C6
split-complementary
#F8D855 #55C6F8 #8755F8
monochromatic
#CAA408 #F6CB1A #F8D855 #FAE590 #FDF3CB

Accessibility & contrast

On white

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

On black

14.94
#F8D855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D855
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D855#FFFFFF#000000##000000
##F8D8551.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD445
Deuteranopia (green-blind)
#F5DE5C
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f8d855;
/* rgb */ color: rgb(248, 216, 85);
/* oklch */ color: oklch(88.6% 0.150 95.3);
Tailwind
colors: {
  custom: {
    50: '#fee38b',
    500: '#f8d855',
    950: '#000000',
  },
}
SCSS
$custom: #f8d855;
$custom-light: #fee38b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d855",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 85
  },
  "hsl": {
    "h": 48.221,
    "s": 92.09,
    "l": 65.294
  },
  "oklch": {
    "l": 0.88577,
    "c": 0.15047,
    "h": 95.3
  },
  "luminance": 0.69724
}

Semantic roles & 50–950 ramp

primary
#F8D855
secondary
#2B49C6
accent
#2DE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F8D855

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

Preview Lab → · Contrast checker → · Palette generator →

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