#F8ED7A#F8ED7A

#F8ED7A is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.2% C 0.137 H 103.8°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#F8ED7A
RGBrgb(248, 237, 122)
HSLhsl(55, 90%, 73%)
HSVhsv(55, 51%, 97%)
CMYKcmyk(0%, 4.4%, 50.8%, 2.7%)
CIE-LABlab(92.55, -11.00, 56.42)
CIE-LCHlch(92.55, 57.49, 101.03°)
OKLaboklab(93.19% -0.0327 0.1331)
OKLCHoklch(93.19% 0.137 103.8)
XYZxyz(72.5105, 81.9323, 30.4035)
Luminance0.8193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ED7A #7A85F8
analogous
#F8AE7A #F8ED7A #C4F87A
triadic
#F8ED7A #7AF8ED #ED7AF8
tetradic
#F8ED7A #7AF8AE #7A85F8 #F87AC4
square
#F8ED7A #7AF8AE #7A85F8 #F87AC4
split-complementary
#F8ED7A #7AC4F8 #AE7AF8
monochromatic
#EBD80C #F5E540 #F8ED7A #FBF5B4 #FDFBE2

Accessibility & contrast

On white

1.21
#F8ED7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#F8ED7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ED7A
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ED7A#FFFFFF#000000##000000
##F8ED7A1.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66F
Deuteranopia (green-blind)
#FFEC7F
Tritanopia (blue-blind)
#FFE0D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f8ed7a;
/* rgb */ color: rgb(248, 237, 122);
/* oklch */ color: oklch(93.2% 0.137 103.8);
Tailwind
colors: {
  custom: {
    50: '#fdf2a3',
    500: '#f8ed7a',
    950: '#000000',
  },
}
SCSS
$custom: #f8ed7a;
$custom-light: #fdf2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ed7a",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 122
  },
  "hsl": {
    "h": 54.762,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93193,
    "c": 0.13707,
    "h": 103.8
  },
  "luminance": 0.8193
}

Semantic roles & 50–950 ramp

primary
#F8ED7A
secondary
#424FD4
accent
#14E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F8ED7A

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

Preview Lab → · Contrast checker → · Palette generator →

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