#F8D45E#F8D45E

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

Color values

HEX#F8D45E
RGBrgb(248, 212, 94)
HSLhsl(46, 92%, 67%)
HSVhsv(46, 62%, 97%)
CMYKcmyk(0%, 14.5%, 62.1%, 2.7%)
CIE-LABlab(85.93, -0.49, 61.49)
CIE-LCHlch(85.93, 61.50, 90.46°)
OKLaboklab(87.87% -0.0056 0.1409)
OKLCHoklch(87.87% 0.141 92.3)
XYZxyz(64.2783, 67.8550, 20.2991)
Luminance0.6785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D45E #5E82F8
analogous
#F8875E #F8D45E #CFF85E
triadic
#F8D45E #5EF8D4 #D45EF8
tetradic
#F8D45E #5EF887 #5E82F8 #F85ECF
square
#F8D45E #5EF887 #5E82F8 #F85ECF
split-complementary
#F8D45E #5ECFF8 #875EF8
monochromatic
#D2A309 #F5C423 #F8D45E #FBE499 #FDF3D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D45E#FFFFFF#000000##000000
##F8D45E1.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)
#E9D151
Deuteranopia (green-blind)
#F2DB63
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f8d45e;
/* rgb */ color: rgb(248, 212, 94);
/* oklch */ color: oklch(87.9% 0.141 92.3);
Tailwind
colors: {
  custom: {
    50: '#fee090',
    500: '#f8d45e',
    950: '#000000',
  },
}
SCSS
$custom: #f8d45e;
$custom-light: #fee090;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d45e",
  "rgb": {
    "r": 248,
    "g": 212,
    "b": 94
  },
  "hsl": {
    "h": 45.974,
    "s": 91.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87867,
    "c": 0.14102,
    "h": 92.3
  },
  "luminance": 0.67852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8D45E

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

Preview Lab → · Contrast checker → · Palette generator →

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