#F8D255#F8D255

#F8D255 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.4% C 0.147 H 92.0°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#F8D255
RGBrgb(248, 210, 85)
HSLhsl(46, 92%, 65%)
HSVhsv(46, 66%, 97%)
CMYKcmyk(0%, 15.3%, 65.7%, 2.7%)
CIE-LABlab(85.36, -0.01, 64.72)
CIE-LCHlch(85.36, 64.72, 90.01°)
OKLaboklab(87.39% -0.0052 0.1465)
OKLCHoklch(87.39% 0.147 92)
XYZxyz(63.4009, 66.7091, 18.1293)
Luminance0.6671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D255 #557BF8
analogous
#F88055 #F8D255 #CDF855
triadic
#F8D255 #55F8D2 #D255F8
tetradic
#F8D255 #55F880 #557BF8 #F855CD
square
#F8D255 #55F880 #557BF8 #F855CD
split-complementary
#F8D255 #55CDF8 #8055F8
monochromatic
#CA9D08 #F6C21A #F8D255 #FAE290 #FDF1CB

Accessibility & contrast

On white

1.46
#F8D255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#F8D255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D255
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D255#FFFFFF#000000##000000
##F8D2551.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF46
Deuteranopia (green-blind)
#F1DA5B
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f8d255;
/* rgb */ color: rgb(248, 210, 85);
/* oklch */ color: oklch(87.4% 0.147 92.0);
Tailwind
colors: {
  custom: {
    50: '#fedf8a',
    500: '#f8d255',
    950: '#000000',
  },
}
SCSS
$custom: #f8d255;
$custom-light: #fedf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d255",
  "rgb": {
    "r": 248,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 46.012,
    "s": 92.09,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87386,
    "c": 0.14655,
    "h": 92
  },
  "luminance": 0.66706
}

Semantic roles & 50–950 ramp

primary
#F8D255
secondary
#2B4FC6
accent
#36E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F8D255

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

Preview Lab → · Contrast checker → · Palette generator →

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