#F8D45C#F8D45C

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

Color values

HEX#F8D45C
RGBrgb(248, 212, 92)
HSLhsl(46, 92%, 67%)
HSVhsv(46, 63%, 97%)
CMYKcmyk(0%, 14.5%, 62.9%, 2.7%)
CIE-LABlab(85.92, -0.62, 62.35)
CIE-LCHlch(85.92, 62.35, 90.57°)
OKLaboklab(87.85% -0.0062 0.1424)
OKLCHoklch(87.85% 0.143 92.5)
XYZxyz(64.1897, 67.8196, 19.8326)
Luminance0.6782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D45C #5C80F8
analogous
#F8865C #F8D45C #CEF85C
triadic
#F8D45C #5CF8D4 #D45CF8
tetradic
#F8D45C #5CF886 #5C80F8 #F85CCE
square
#F8D45C #5CF886 #5C80F8 #F85CCE
split-complementary
#F8D45C #5CCEF8 #865CF8
monochromatic
#D1A309 #F5C521 #F8D45C #FBE397 #FDF3D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D45C#FFFFFF#000000##000000
##F8D45C1.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)
#E9D14F
Deuteranopia (green-blind)
#F2DB62
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f8d45c;
/* rgb */ color: rgb(248, 212, 92);
/* oklch */ color: oklch(87.8% 0.143 92.5);
Tailwind
colors: {
  custom: {
    50: '#fee08f',
    500: '#f8d45c',
    950: '#000000',
  },
}
SCSS
$custom: #f8d45c;
$custom-light: #fee08f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d45c",
  "rgb": {
    "r": 248,
    "g": 212,
    "b": 92
  },
  "hsl": {
    "h": 46.154,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87847,
    "c": 0.14257,
    "h": 92.5
  },
  "luminance": 0.67816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8D45C

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

Preview Lab → · Contrast checker → · Palette generator →

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