#F8EA7A#F8EA7A

#F8EA7A is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.6% C 0.134 H 102.2°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#F8EA7A
RGBrgb(248, 234, 122)
HSLhsl(53, 90%, 73%)
HSVhsv(53, 51%, 97%)
CMYKcmyk(0%, 5.6%, 50.8%, 2.7%)
CIE-LABlab(91.78, -9.51, 55.52)
CIE-LCHlch(91.78, 56.32, 99.72°)
OKLaboklab(92.58% -0.0284 0.1311)
OKLCHoklch(92.58% 0.134 102.2)
XYZxyz(71.6492, 80.2097, 30.1164)
Luminance0.8021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA7A #7A88F8
analogous
#F8AB7A #F8EA7A #C7F87A
triadic
#F8EA7A #7AF8EA #EA7AF8
tetradic
#F8EA7A #7AF8AB #7A88F8 #F87AC7
square
#F8EA7A #7AF8AB #7A88F8 #F87AC7
split-complementary
#F8EA7A #7AC7F8 #AB7AF8
monochromatic
#EBD20C #F5E140 #F8EA7A #FBF3B4 #FDFAE2

Accessibility & contrast

On white

1.23
#F8EA7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#F8EA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA7A
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA7A#FFFFFF#000000##000000
##F8EA7A1.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE470
Deuteranopia (green-blind)
#FFEA7F
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f8ea7a;
/* rgb */ color: rgb(248, 234, 122);
/* oklch */ color: oklch(92.6% 0.134 102.2);
Tailwind
colors: {
  custom: {
    50: '#fdf0a3',
    500: '#f8ea7a',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea7a;
$custom-light: #fdf0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea7a",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 122
  },
  "hsl": {
    "h": 53.333,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92584,
    "c": 0.13418,
    "h": 102.2
  },
  "luminance": 0.80207
}

Semantic roles & 50–950 ramp

primary
#F8EA7A
secondary
#4252D4
accent
#1AE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F8EA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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