#F8D56A#F8D56A

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

Color values

HEX#F8D56A
RGBrgb(248, 213, 106)
HSLhsl(45, 91%, 69%)
HSVhsv(45, 57%, 97%)
CMYKcmyk(0%, 14.1%, 57.3%, 2.7%)
CIE-LABlab(86.30, -0.18, 56.51)
CIE-LCHlch(86.30, 56.51, 90.19°)
OKLaboklab(88.19% -0.0033 0.1317)
OKLCHoklch(88.19% 0.132 91.4)
XYZxyz(65.1100, 68.5889, 23.4423)
Luminance0.6859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D56A #6A8DF8
analogous
#F88E6A #F8D56A #D4F86A
triadic
#F8D56A #6AF8D5 #D56AF8
tetradic
#F8D56A #6AF88E #6A8DF8 #F86AD4
square
#F8D56A #6AF88E #6A8DF8 #F86AD4
split-complementary
#F8D56A #6AD4F8 #8E6AF8
monochromatic
#DDA90A #F5C530 #F8D56A #FBE5A4 #FDF6DF

Accessibility & contrast

On white

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

On black

14.72
#F8D56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D56A
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D56A#FFFFFF#000000##000000
##F8D56A1.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8d56a;
/* rgb */ color: rgb(248, 213, 106);
/* oklch */ color: oklch(88.2% 0.132 91.4);
Tailwind
colors: {
  custom: {
    50: '#fee198',
    500: '#f8d56a',
    950: '#000000',
  },
}
SCSS
$custom: #f8d56a;
$custom-light: #fee198;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d56a",
  "rgb": {
    "r": 248,
    "g": 213,
    "b": 106
  },
  "hsl": {
    "h": 45.211,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88193,
    "c": 0.13174,
    "h": 91.4
  },
  "luminance": 0.68586
}

Semantic roles & 50–950 ramp

primary
#F8D56A
secondary
#345BD2
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D56A

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

Preview Lab → · Contrast checker → · Palette generator →

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