#F8EA7E#F8EA7E

#F8EA7E is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.6% C 0.130 H 102.0°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#F8EA7E
RGBrgb(248, 234, 126)
HSLhsl(53, 90%, 73%)
HSVhsv(53, 49%, 97%)
CMYKcmyk(0%, 5.6%, 49.2%, 2.7%)
CIE-LABlab(91.82, -9.17, 53.70)
CIE-LCHlch(91.82, 54.48, 99.69°)
OKLaboklab(92.64% -0.027 0.1275)
OKLCHoklch(92.64% 0.13 102)
XYZxyz(71.9021, 80.3108, 31.4486)
Luminance0.8031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA7E #7E8CF8
analogous
#F8AD7E #F8EA7E #C9F87E
triadic
#F8EA7E #7EF8EA #EA7EF8
tetradic
#F8EA7E #7EF8AD #7E8CF8 #F87EC9
square
#F8EA7E #7EF8AD #7E8CF8 #F87EC9
split-complementary
#F8EA7E #7EC9F8 #AD7EF8
monochromatic
#EFD50D #F5E144 #F8EA7E #FBF3B8 #FDFAE2

Accessibility & contrast

On white

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

On black

17.06
#F8EA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA7E
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA7E#FFFFFF#000000##000000
##F8EA7E1.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE474
Deuteranopia (green-blind)
#FFEA83
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f8ea7e;
/* rgb */ color: rgb(248, 234, 126);
/* oklch */ color: oklch(92.6% 0.130 102.0);
Tailwind
colors: {
  custom: {
    50: '#fdf0a6',
    500: '#f8ea7e',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea7e;
$custom-light: #fdf0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea7e",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 126
  },
  "hsl": {
    "h": 53.115,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92635,
    "c": 0.13033,
    "h": 102
  },
  "luminance": 0.80308
}

Semantic roles & 50–950 ramp

primary
#F8EA7E
secondary
#4656D5
accent
#1AE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F8EA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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