#F8D45A#F8D45A

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

Color values

HEX#F8D45A
RGBrgb(248, 212, 90)
HSLhsl(46, 92%, 66%)
HSVhsv(46, 64%, 97%)
CMYKcmyk(0%, 14.5%, 63.7%, 2.7%)
CIE-LABlab(85.90, -0.74, 63.19)
CIE-LCHlch(85.90, 63.19, 90.67°)
OKLaboklab(87.83% -0.0068 0.144)
OKLCHoklch(87.83% 0.144 92.7)
XYZxyz(64.1034, 67.7851, 19.3782)
Luminance0.6778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D45A #5A7EF8
analogous
#F8855A #F8D45A #CDF85A
triadic
#F8D45A #5AF8D4 #D45AF8
tetradic
#F8D45A #5AF885 #5A7EF8 #F85ACD
square
#F8D45A #5AF885 #5A7EF8 #F85ACD
split-complementary
#F8D45A #5ACDF8 #855AF8
monochromatic
#CFA209 #F6C51F #F8D45A #FAE395 #FDF3CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D45A#FFFFFF#000000##000000
##F8D45A1.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)
#E9D14C
Deuteranopia (green-blind)
#F2DB60
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f8d45a;
/* rgb */ color: rgb(248, 212, 90);
/* oklch */ color: oklch(87.8% 0.144 92.7);
Tailwind
colors: {
  custom: {
    50: '#fee08e',
    500: '#f8d45a',
    950: '#000000',
  },
}
SCSS
$custom: #f8d45a;
$custom-light: #fee08e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d45a",
  "rgb": {
    "r": 248,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 46.329,
    "s": 91.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.87828,
    "c": 0.14411,
    "h": 92.7
  },
  "luminance": 0.67782
}

Semantic roles & 50–950 ramp

primary
#F8D45A
secondary
#2C50CA
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D45A

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

Preview Lab → · Contrast checker → · Palette generator →

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