#F8F56D#F8F56D

#F8F56D is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.7% C 0.157 H 107.9°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#F8F56D
RGBrgb(248, 245, 109)
HSLhsl(59, 91%, 70%)
HSVhsv(59, 56%, 97%)
CMYKcmyk(0%, 1.2%, 56%, 2.7%)
CIE-LABlab(94.47, -15.92, 64.46)
CIE-LCHlch(94.47, 66.39, 103.88°)
OKLaboklab(94.68% -0.0481 0.1491)
OKLCHoklch(94.68% 0.157 107.9)
XYZxyz(74.1263, 86.3675, 27.2309)
Luminance0.8637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F56D #6D70F8
analogous
#F8AF6D #F8F56D #B6F86D
triadic
#F8F56D #6DF8F5 #F56DF8
tetradic
#F8F56D #6DF8AF #6D70F8 #F86DB6
square
#F8F56D #6DF8AF #6D70F8 #F86DB6
split-complementary
#F8F56D #6DB6F8 #AF6DF8
monochromatic
#E0DB0B #F5F133 #F8F56D #FBF9A7 #FEFDE2

Accessibility & contrast

On white

1.15
#F8F56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#F8F56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F56D
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F56D#FFFFFF#000000##000000
##F8F56D1.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5F
Deuteranopia (green-blind)
#FFF275
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f56d;
/* rgb */ color: rgb(248, 245, 109);
/* oklch */ color: oklch(94.7% 0.157 107.9);
Tailwind
colors: {
  custom: {
    50: '#fdf89b',
    500: '#f8f56d',
    950: '#000000',
  },
}
SCSS
$custom: #f8f56d;
$custom-light: #fdf89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f56d",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 109
  },
  "hsl": {
    "h": 58.705,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.94681,
    "c": 0.15668,
    "h": 107.9
  },
  "luminance": 0.86365
}

Semantic roles & 50–950 ramp

primary
#F8F56D
secondary
#373AD2
accent
#05E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F56D

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

Preview Lab → · Contrast checker → · Palette generator →

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