#F8D955#F8D955

#F8D955 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.151 H 95.9°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#F8D955
RGBrgb(248, 217, 85)
HSLhsl(49, 92%, 65%)
HSVhsv(49, 66%, 97%)
CMYKcmyk(0%, 12.5%, 65.7%, 2.7%)
CIE-LABlab(87.12, -3.57, 66.58)
CIE-LCHlch(87.12, 66.67, 93.07°)
OKLaboklab(88.78% -0.0155 0.1504)
OKLCHoklch(88.78% 0.151 95.9)
XYZxyz(65.1670, 70.2413, 18.7180)
Luminance0.7024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D955 #5574F8
analogous
#F88755 #F8D955 #C5F855
triadic
#F8D955 #55F8D9 #D955F8
tetradic
#F8D955 #55F887 #5574F8 #F855C5
square
#F8D955 #55F887 #5574F8 #F855C5
split-complementary
#F8D955 #55C5F8 #8755F8
monochromatic
#CAA508 #F6CC1A #F8D955 #FAE690 #FDF3CB

Accessibility & contrast

On white

1.40
#F8D955 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#F8D955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D955
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D955#FFFFFF#000000##000000
##F8D9551.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED544
Deuteranopia (green-blind)
#F6DE5C
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d955;
/* rgb */ color: rgb(248, 217, 85);
/* oklch */ color: oklch(88.8% 0.151 95.9);
Tailwind
colors: {
  custom: {
    50: '#fee48b',
    500: '#f8d955',
    950: '#000000',
  },
}
SCSS
$custom: #f8d955;
$custom-light: #fee48b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d955",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 85
  },
  "hsl": {
    "h": 48.589,
    "s": 92.09,
    "l": 65.294
  },
  "oklch": {
    "l": 0.88776,
    "c": 0.15117,
    "h": 95.9
  },
  "luminance": 0.70238
}

Semantic roles & 50–950 ramp

primary
#F8D955
secondary
#2B48C6
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F8D955

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

Preview Lab → · Contrast checker → · Palette generator →

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