#F8EF74#F8EF74

#F8EF74 is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.5% C 0.145 H 105.0°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#F8EF74
RGBrgb(248, 239, 116)
HSLhsl(56, 90%, 71%)
HSVhsv(56, 53%, 97%)
CMYKcmyk(0%, 3.6%, 53.2%, 2.7%)
CIE-LABlab(92.99, -12.47, 59.69)
CIE-LCHlch(92.99, 60.97, 101.80°)
OKLaboklab(93.53% -0.0375 0.1396)
OKLCHoklch(93.53% 0.145 105)
XYZxyz(72.7324, 82.9527, 28.6998)
Luminance0.8295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF74 #747DF8
analogous
#F8AD74 #F8EF74 #BFF874
triadic
#F8EF74 #74F8EF #EF74F8
tetradic
#F8EF74 #74F8AD #747DF8 #F874BF
square
#F8EF74 #74F8AD #747DF8 #F874BF
split-complementary
#F8EF74 #74BFF8 #AD74F8
monochromatic
#E6D70C #F5E83A #F8EF74 #FBF6AE #FEFCE2

Accessibility & contrast

On white

1.19
#F8EF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.59
#F8EF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EF74
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EF74#FFFFFF#000000##000000
##F8EF741.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE868
Deuteranopia (green-blind)
#FFEE7A
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f8ef74;
/* rgb */ color: rgb(248, 239, 116);
/* oklch */ color: oklch(93.5% 0.145 105.0);
Tailwind
colors: {
  custom: {
    50: '#fdf49f',
    500: '#f8ef74',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef74;
$custom-light: #fdf49f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef74",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 116
  },
  "hsl": {
    "h": 55.909,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93529,
    "c": 0.14457,
    "h": 105
  },
  "luminance": 0.8295
}

Semantic roles & 50–950 ramp

primary
#F8EF74
secondary
#3D47D3
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8EF74

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

Preview Lab → · Contrast checker → · Palette generator →

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