#F8F56E#F8F56E

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

Color values

HEX#F8F56E
RGBrgb(248, 245, 110)
HSLhsl(59, 91%, 70%)
HSVhsv(59, 56%, 97%)
CMYKcmyk(0%, 1.2%, 55.6%, 2.7%)
CIE-LABlab(94.48, -15.85, 64.03)
CIE-LCHlch(94.48, 65.97, 103.90°)
OKLaboklab(94.69% -0.0478 0.1483)
OKLCHoklch(94.69% 0.156 107.9)
XYZxyz(74.1804, 86.3892, 27.5160)
Luminance0.8639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F56E #6E71F8
analogous
#F8B06E #F8F56E #B6F86E
triadic
#F8F56E #6EF8F5 #F56EF8
tetradic
#F8F56E #6EF8B0 #6E71F8 #F86EB6
square
#F8F56E #6EF8B0 #6E71F8 #F86EB6
split-complementary
#F8F56E #6EB6F8 #B06EF8
monochromatic
#E1DC0B #F5F134 #F8F56E #FBF9A8 #FEFDE2

Accessibility & contrast

On white

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

On black

18.28
#F8F56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F56E
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F56E#FFFFFF#000000##000000
##F8F56E1.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f56e;
/* rgb */ color: rgb(248, 245, 110);
/* oklch */ color: oklch(94.7% 0.156 107.9);
Tailwind
colors: {
  custom: {
    50: '#fdf89c',
    500: '#f8f56e',
    950: '#000000',
  },
}
SCSS
$custom: #f8f56e;
$custom-light: #fdf89c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f56e",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 110
  },
  "hsl": {
    "h": 58.696,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.94692,
    "c": 0.15583,
    "h": 107.9
  },
  "luminance": 0.86387
}

Semantic roles & 50–950 ramp

primary
#F8F56E
secondary
#383BD3
accent
#05E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F56E

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

Preview Lab → · Contrast checker → · Palette generator →

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