#F8D755#F8D755

#F8D755 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.4% C 0.150 H 94.8°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#F8D755
RGBrgb(248, 215, 85)
HSLhsl(48, 92%, 65%)
HSVhsv(48, 66%, 97%)
CMYKcmyk(0%, 13.3%, 65.7%, 2.7%)
CIE-LABlab(86.61, -2.56, 66.05)
CIE-LCHlch(86.61, 66.10, 92.22°)
OKLaboklab(88.38% -0.0126 0.1493)
OKLCHoklch(88.38% 0.15 94.8)
XYZxyz(64.6546, 69.2166, 18.5472)
Luminance0.6921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D755 #5576F8
analogous
#F88655 #F8D755 #C7F855
triadic
#F8D755 #55F8D7 #D755F8
tetradic
#F8D755 #55F886 #5576F8 #F855C7
square
#F8D755 #55F886 #5576F8 #F855C7
split-complementary
#F8D755 #55C7F8 #8655F8
monochromatic
#CAA308 #F6C91A #F8D755 #FAE590 #FDF3CB

Accessibility & contrast

On white

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

On black

14.84
#F8D755 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D755
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D755#FFFFFF#000000##000000
##F8D7551.001.4114.8414.84
#FFFFFF1.411.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD345
Deuteranopia (green-blind)
#F5DD5C
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f8d755;
/* rgb */ color: rgb(248, 215, 85);
/* oklch */ color: oklch(88.4% 0.150 94.8);
Tailwind
colors: {
  custom: {
    50: '#fee38b',
    500: '#f8d755',
    950: '#000000',
  },
}
SCSS
$custom: #f8d755;
$custom-light: #fee38b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d755",
  "rgb": {
    "r": 248,
    "g": 215,
    "b": 85
  },
  "hsl": {
    "h": 47.853,
    "s": 92.09,
    "l": 65.294
  },
  "oklch": {
    "l": 0.88378,
    "c": 0.14979,
    "h": 94.8
  },
  "luminance": 0.69213
}

Semantic roles & 50–950 ramp

primary
#F8D755
secondary
#2B4AC6
accent
#2EE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F8D755

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

Preview Lab → · Contrast checker → · Palette generator →

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