#F8EC73#F8EC73

#F8EC73 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.9% C 0.143 H 103.6°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#F8EC73
RGBrgb(248, 236, 115)
HSLhsl(55, 90%, 71%)
HSVhsv(55, 54%, 97%)
CMYKcmyk(0%, 4.8%, 53.6%, 2.7%)
CIE-LABlab(92.22, -11.07, 59.24)
CIE-LCHlch(92.22, 60.26, 100.58°)
OKLaboklab(92.91% -0.0336 0.1386)
OKLCHoklch(92.91% 0.143 103.6)
XYZxyz(71.8036, 81.1876, 28.1048)
Luminance0.8118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EC73 #737FF8
analogous
#F8A973 #F8EC73 #C2F873
triadic
#F8EC73 #73F8EC #EC73F8
tetradic
#F8EC73 #73F8A9 #737FF8 #F873C2
square
#F8EC73 #73F8A9 #737FF8 #F873C2
split-complementary
#F8EC73 #73C2F8 #A973F8
monochromatic
#E5D10B #F5E439 #F8EC73 #FBF4AD #FEFBE2

Accessibility & contrast

On white

1.22
#F8EC73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#F8EC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EC73
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EC73#FFFFFF#000000##000000
##F8EC731.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE567
Deuteranopia (green-blind)
#FFEC79
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f8ec73;
/* rgb */ color: rgb(248, 236, 115);
/* oklch */ color: oklch(92.9% 0.143 103.6);
Tailwind
colors: {
  custom: {
    50: '#fdf19e',
    500: '#f8ec73',
    950: '#000000',
  },
}
SCSS
$custom: #f8ec73;
$custom-light: #fdf19e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ec73",
  "rgb": {
    "r": 248,
    "g": 236,
    "b": 115
  },
  "hsl": {
    "h": 54.586,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92907,
    "c": 0.14257,
    "h": 103.6
  },
  "luminance": 0.81185
}

Semantic roles & 50–950 ramp

primary
#F8EC73
secondary
#3C4AD3
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8EC73

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

Preview Lab → · Contrast checker → · Palette generator →

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