#F8EA7B#F8EA7B

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

Color values

HEX#F8EA7B
RGBrgb(248, 234, 123)
HSLhsl(53, 90%, 73%)
HSVhsv(53, 50%, 97%)
CMYKcmyk(0%, 5.6%, 50.4%, 2.7%)
CIE-LABlab(91.79, -9.43, 55.06)
CIE-LCHlch(91.79, 55.86, 99.72°)
OKLaboklab(92.6% -0.0281 0.1302)
OKLCHoklch(92.6% 0.133 102.2)
XYZxyz(71.7115, 80.2346, 30.4444)
Luminance0.8023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA7B #7B89F8
analogous
#F8AB7B #F8EA7B #C7F87B
triadic
#F8EA7B #7BF8EA #EA7BF8
tetradic
#F8EA7B #7BF8AB #7B89F8 #F87BC7
square
#F8EA7B #7BF8AB #7B89F8 #F87BC7
split-complementary
#F8EA7B #7BC7F8 #AB7BF8
monochromatic
#ECD30D #F5E141 #F8EA7B #FBF3B5 #FDFAE2

Accessibility & contrast

On white

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

On black

17.05
#F8EA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA7B
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA7B#FFFFFF#000000##000000
##F8EA7B1.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8ea7b;
/* rgb */ color: rgb(248, 234, 123);
/* oklch */ color: oklch(92.6% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#fdf0a4',
    500: '#f8ea7b',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea7b;
$custom-light: #fdf0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea7b",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 123
  },
  "hsl": {
    "h": 53.28,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92597,
    "c": 0.13323,
    "h": 102.2
  },
  "luminance": 0.80232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8EA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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