#F8D56C#F8D56C

#F8D56C is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 88.2% C 0.130 H 91.2°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#F8D56C
RGBrgb(248, 213, 108)
HSLhsl(45, 91%, 70%)
HSVhsv(45, 56%, 97%)
CMYKcmyk(0%, 14.1%, 56.5%, 2.7%)
CIE-LABlab(86.32, -0.04, 55.61)
CIE-LCHlch(86.32, 55.61, 90.04°)
OKLaboklab(88.22% -0.0026 0.13)
OKLCHoklch(88.22% 0.13 91.2)
XYZxyz(65.2152, 68.6310, 23.9965)
Luminance0.6863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D56C #6C8FF8
analogous
#F88F6C #F8D56C #D5F86C
triadic
#F8D56C #6CF8D5 #D56CF8
tetradic
#F8D56C #6CF88F #6C8FF8 #F86CD5
square
#F8D56C #6CF88F #6C8FF8 #F86CD5
split-complementary
#F8D56C #6CD5F8 #8F6CF8
monochromatic
#DFAA0B #F5C432 #F8D56C #FBE6A6 #FEF6E1

Accessibility & contrast

On white

1.43
#F8D56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#F8D56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D56C
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D56C#FFFFFF#000000##000000
##F8D56C1.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D262
Deuteranopia (green-blind)
#F1DC70
Tritanopia (blue-blind)
#FFC6BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f8d56c;
/* rgb */ color: rgb(248, 213, 108);
/* oklch */ color: oklch(88.2% 0.130 91.2);
Tailwind
colors: {
  custom: {
    50: '#fde199',
    500: '#f8d56c',
    950: '#000000',
  },
}
SCSS
$custom: #f8d56c;
$custom-light: #fde199;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d56c",
  "rgb": {
    "r": 248,
    "g": 213,
    "b": 108
  },
  "hsl": {
    "h": 45,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88216,
    "c": 0.13001,
    "h": 91.2
  },
  "luminance": 0.68628
}

Semantic roles & 50–950 ramp

primary
#F8D56C
secondary
#365DD2
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D56C

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

Preview Lab → · Contrast checker → · Palette generator →

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