#F8EA7F#F8EA7F

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

Color values

HEX#F8EA7F
RGBrgb(248, 234, 127)
HSLhsl(53, 90%, 74%)
HSVhsv(53, 49%, 97%)
CMYKcmyk(0%, 5.6%, 48.8%, 2.7%)
CIE-LABlab(91.84, -9.09, 53.24)
CIE-LCHlch(91.84, 54.01, 99.68°)
OKLaboklab(92.65% -0.0267 0.1266)
OKLCHoklch(92.65% 0.129 101.9)
XYZxyz(71.9670, 80.3368, 31.7902)
Luminance0.8033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA7F #7F8DF8
analogous
#F8AD7F #F8EA7F #C9F87F
triadic
#F8EA7F #7FF8EA #EA7FF8
tetradic
#F8EA7F #7FF8AD #7F8DF8 #F87FC9
square
#F8EA7F #7FF8AD #7F8DF8 #F87FC9
split-complementary
#F8EA7F #7FC9F8 #AD7FF8
monochromatic
#F0D50D #F5E045 #F8EA7F #FBF4B9 #FDFAE2

Accessibility & contrast

On white

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

On black

17.07
#F8EA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA7F
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA7F#FFFFFF#000000##000000
##F8EA7F1.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8ea7f;
/* rgb */ color: rgb(248, 234, 127);
/* oklch */ color: oklch(92.6% 0.129 101.9);
Tailwind
colors: {
  custom: {
    50: '#fdf0a6',
    500: '#f8ea7f',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea7f;
$custom-light: #fdf0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea7f",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 127
  },
  "hsl": {
    "h": 53.058,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92648,
    "c": 0.12936,
    "h": 101.9
  },
  "luminance": 0.80334
}

Semantic roles & 50–950 ramp

primary
#F8EA7F
secondary
#4657D5
accent
#1BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F8EA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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