#F8EE7A#F8EE7A

#F8EE7A is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.4% C 0.138 H 104.3°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#F8EE7A
RGBrgb(248, 238, 122)
HSLhsl(55, 90%, 73%)
HSVhsv(55, 51%, 97%)
CMYKcmyk(0%, 4%, 50.8%, 2.7%)
CIE-LABlab(92.80, -11.49, 56.73)
CIE-LCHlch(92.80, 57.88, 101.45°)
OKLaboklab(93.4% -0.0341 0.1338)
OKLCHoklch(93.4% 0.138 104.3)
XYZxyz(72.8008, 82.5129, 30.5003)
Luminance0.8251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EE7A #7A84F8
analogous
#F8AF7A #F8EE7A #C3F87A
triadic
#F8EE7A #7AF8EE #EE7AF8
tetradic
#F8EE7A #7AF8AF #7A84F8 #F87AC3
square
#F8EE7A #7AF8AF #7A84F8 #F87AC3
split-complementary
#F8EE7A #7AC3F8 #AF7AF8
monochromatic
#EBDA0C #F5E740 #F8EE7A #FBF5B4 #FDFBE2

Accessibility & contrast

On white

1.20
#F8EE7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.50
#F8EE7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EE7A
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EE7A#FFFFFF#000000##000000
##F8EE7A1.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76F
Deuteranopia (green-blind)
#FFED80
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f8ee7a;
/* rgb */ color: rgb(248, 238, 122);
/* oklch */ color: oklch(93.4% 0.138 104.3);
Tailwind
colors: {
  custom: {
    50: '#fdf3a3',
    500: '#f8ee7a',
    950: '#000000',
  },
}
SCSS
$custom: #f8ee7a;
$custom-light: #fdf3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ee7a",
  "rgb": {
    "r": 248,
    "g": 238,
    "b": 122
  },
  "hsl": {
    "h": 55.238,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93396,
    "c": 0.13806,
    "h": 104.3
  },
  "luminance": 0.82511
}

Semantic roles & 50–950 ramp

primary
#F8EE7A
secondary
#424ED4
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8EE7A

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

Preview Lab → · Contrast checker → · Palette generator →

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