#F8D45B#F8D45B

#F8D45B is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.8% C 0.143 H 92.6°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#F8D45B
RGBrgb(248, 212, 91)
HSLhsl(46, 92%, 66%)
HSVhsv(46, 63%, 97%)
CMYKcmyk(0%, 14.5%, 63.3%, 2.7%)
CIE-LABlab(85.91, -0.68, 62.77)
CIE-LCHlch(85.91, 62.77, 90.62°)
OKLaboklab(87.84% -0.0065 0.1432)
OKLCHoklch(87.84% 0.143 92.6)
XYZxyz(64.1463, 67.8022, 19.6039)
Luminance0.6780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D45B #5B7FF8
analogous
#F8865B #F8D45B #CEF85B
triadic
#F8D45B #5BF8D4 #D45BF8
tetradic
#F8D45B #5BF886 #5B7FF8 #F85BCE
square
#F8D45B #5BF886 #5B7FF8 #F85BCE
split-complementary
#F8D45B #5BCEF8 #865BF8
monochromatic
#D0A209 #F5C520 #F8D45B #FBE396 #FDF3D0

Accessibility & contrast

On white

1.44
#F8D45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#F8D45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D45B
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D45B#FFFFFF#000000##000000
##F8D45B1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D14D
Deuteranopia (green-blind)
#F2DB61
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f8d45b;
/* rgb */ color: rgb(248, 212, 91);
/* oklch */ color: oklch(87.8% 0.143 92.6);
Tailwind
colors: {
  custom: {
    50: '#fee08e',
    500: '#f8d45b',
    950: '#000000',
  },
}
SCSS
$custom: #f8d45b;
$custom-light: #fee08e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d45b",
  "rgb": {
    "r": 248,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 46.242,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87837,
    "c": 0.14335,
    "h": 92.6
  },
  "luminance": 0.67799
}

Semantic roles & 50–950 ramp

primary
#F8D45B
secondary
#2C51CB
accent
#35E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D45B

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

Preview Lab → · Contrast checker → · Palette generator →

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