#F8D155#F8D155

#F8D155 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 87.2% C 0.146 H 91.5°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#F8D155
RGBrgb(248, 209, 85)
HSLhsl(46, 92%, 65%)
HSVhsv(46, 66%, 97%)
CMYKcmyk(0%, 15.7%, 65.7%, 2.7%)
CIE-LABlab(85.11, 0.50, 64.46)
CIE-LCHlch(85.11, 64.46, 89.55°)
OKLaboklab(87.19% -0.0038 0.1459)
OKLCHoklch(87.19% 0.146 91.5)
XYZxyz(63.1548, 66.2168, 18.0472)
Luminance0.6621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D155 #557CF8
analogous
#F87F55 #F8D155 #CEF855
triadic
#F8D155 #55F8D1 #D155F8
tetradic
#F8D155 #55F87F #557CF8 #F855CE
square
#F8D155 #55F87F #557CF8 #F855CE
split-complementary
#F8D155 #55CEF8 #7F55F8
monochromatic
#CA9C08 #F6C11A #F8D155 #FAE190 #FDF1CB

Accessibility & contrast

On white

1.47
#F8D155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#F8D155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D155
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D155#FFFFFF#000000##000000
##F8D1551.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE46
Deuteranopia (green-blind)
#F0D95B
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f8d155;
/* rgb */ color: rgb(248, 209, 85);
/* oklch */ color: oklch(87.2% 0.146 91.5);
Tailwind
colors: {
  custom: {
    50: '#fede8a',
    500: '#f8d155',
    950: '#000000',
  },
}
SCSS
$custom: #f8d155;
$custom-light: #fede8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d155",
  "rgb": {
    "r": 248,
    "g": 209,
    "b": 85
  },
  "hsl": {
    "h": 45.644,
    "s": 92.09,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87189,
    "c": 0.14595,
    "h": 91.5
  },
  "luminance": 0.66213
}

Semantic roles & 50–950 ramp

primary
#F8D155
secondary
#2B50C6
accent
#37E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F8D155

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

Preview Lab → · Contrast checker → · Palette generator →

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