#F8D260#F8D260

#F8D260 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.5% C 0.138 H 90.8°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#F8D260
RGBrgb(248, 210, 96)
HSLhsl(45, 92%, 67%)
HSVhsv(45, 61%, 97%)
CMYKcmyk(0%, 15.3%, 61.3%, 2.7%)
CIE-LABlab(85.45, 0.66, 60.08)
CIE-LCHlch(85.45, 60.08, 89.37°)
OKLaboklab(87.49% -0.002 0.1382)
OKLCHoklch(87.49% 0.138 90.8)
XYZxyz(63.8723, 66.8976, 20.6123)
Luminance0.6689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D260 #6086F8
analogous
#F88660 #F8D260 #D2F860
triadic
#F8D260 #60F8D2 #D260F8
tetradic
#F8D260 #60F886 #6086F8 #F860D2
square
#F8D260 #60F886 #6086F8 #F860D2
split-complementary
#F8D260 #60D2F8 #8660F8
monochromatic
#D4A209 #F5C125 #F8D260 #FBE39B #FDF3D5

Accessibility & contrast

On white

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

On black

14.38
#F8D260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D260
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D260#FFFFFF#000000##000000
##F8D2601.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF54
Deuteranopia (green-blind)
#F0DA65
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f8d260;
/* rgb */ color: rgb(248, 210, 96);
/* oklch */ color: oklch(87.5% 0.138 90.8);
Tailwind
colors: {
  custom: {
    50: '#fedf91',
    500: '#f8d260',
    950: '#000000',
  },
}
SCSS
$custom: #f8d260;
$custom-light: #fedf91;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d260",
  "rgb": {
    "r": 248,
    "g": 210,
    "b": 96
  },
  "hsl": {
    "h": 45,
    "s": 91.566,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87492,
    "c": 0.13817,
    "h": 90.8
  },
  "luminance": 0.66894
}

Semantic roles & 50–950 ramp

primary
#F8D260
secondary
#2D56CF
accent
#39E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D260

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

Preview Lab → · Contrast checker → · Palette generator →

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