#F8D45D#F8D45D

#F8D45D is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.9% C 0.142 H 92.4°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#F8D45D
RGBrgb(248, 212, 93)
HSLhsl(46, 92%, 67%)
HSVhsv(46, 63%, 97%)
CMYKcmyk(0%, 14.5%, 62.5%, 2.7%)
CIE-LABlab(85.92, -0.55, 61.92)
CIE-LCHlch(85.92, 61.92, 90.51°)
OKLaboklab(87.86% -0.0059 0.1417)
OKLCHoklch(87.86% 0.142 92.4)
XYZxyz(64.2337, 67.8372, 20.0643)
Luminance0.6783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D45D #5D81F8
analogous
#F8875D #F8D45D #CEF85D
triadic
#F8D45D #5DF8D4 #D45DF8
tetradic
#F8D45D #5DF887 #5D81F8 #F85DCE
square
#F8D45D #5DF887 #5D81F8 #F85DCE
split-complementary
#F8D45D #5DCEF8 #875DF8
monochromatic
#D2A309 #F5C422 #F8D45D #FBE498 #FDF3D2

Accessibility & contrast

On white

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

On black

14.57
#F8D45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D45D
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D45D#FFFFFF#000000##000000
##F8D45D1.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D150
Deuteranopia (green-blind)
#F2DB62
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f8d45d;
/* rgb */ color: rgb(248, 212, 93);
/* oklch */ color: oklch(87.9% 0.142 92.4);
Tailwind
colors: {
  custom: {
    50: '#fee08f',
    500: '#f8d45d',
    950: '#000000',
  },
}
SCSS
$custom: #f8d45d;
$custom-light: #fee08f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d45d",
  "rgb": {
    "r": 248,
    "g": 212,
    "b": 93
  },
  "hsl": {
    "h": 46.065,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87857,
    "c": 0.1418,
    "h": 92.4
  },
  "luminance": 0.67834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8D45D

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

Preview Lab → · Contrast checker → · Palette generator →

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