#F8EA6A#F8EA6A

#F8EA6A is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.4% C 0.149 H 103.1°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#F8EA6A
RGBrgb(248, 234, 106)
HSLhsl(54, 91%, 69%)
HSVhsv(54, 57%, 97%)
CMYKcmyk(0%, 5.6%, 57.3%, 2.7%)
CIE-LABlab(91.62, -10.74, 62.56)
CIE-LCHlch(91.62, 63.47, 99.75°)
OKLaboklab(92.4% -0.0336 0.1447)
OKLCHoklch(92.4% 0.149 103.1)
XYZxyz(70.7382, 79.8453, 25.3184)
Luminance0.7984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA6A #6A78F8
analogous
#F8A36A #F8EA6A #BFF86A
triadic
#F8EA6A #6AF8EA #EA6AF8
tetradic
#F8EA6A #6AF8A3 #6A78F8 #F86ABF
square
#F8EA6A #6AF8A3 #6A78F8 #F86ABF
split-complementary
#F8EA6A #6ABFF8 #A36AF8
monochromatic
#DDC80A #F5E230 #F8EA6A #FBF2A4 #FDFADF

Accessibility & contrast

On white

1.24
#F8EA6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#F8EA6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA6A
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA6A#FFFFFF#000000##000000
##F8EA6A1.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE35D
Deuteranopia (green-blind)
#FFEA71
Tritanopia (blue-blind)
#FFDCCE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f8ea6a;
/* rgb */ color: rgb(248, 234, 106);
/* oklch */ color: oklch(92.4% 0.149 103.1);
Tailwind
colors: {
  custom: {
    50: '#fdf099',
    500: '#f8ea6a',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea6a;
$custom-light: #fdf099;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea6a",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 106
  },
  "hsl": {
    "h": 54.085,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.92402,
    "c": 0.14856,
    "h": 103.1
  },
  "luminance": 0.79843
}

Semantic roles & 50–950 ramp

primary
#F8EA6A
secondary
#3444D2
accent
#17E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8EA6A

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

Preview Lab → · Contrast checker → · Palette generator →

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