#F8ED72#F8ED72

#F8ED72 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 93.1% C 0.144 H 104.2°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#F8ED72
RGBrgb(248, 237, 114)
HSLhsl(55, 91%, 71%)
HSVhsv(55, 54%, 97%)
CMYKcmyk(0%, 4.4%, 54%, 2.7%)
CIE-LABlab(92.46, -11.64, 59.97)
CIE-LCHlch(92.46, 61.09, 100.98°)
OKLaboklab(93.1% -0.0353 0.14)
OKLCHoklch(93.1% 0.144 104.2)
XYZxyz(72.0351, 81.7421, 27.8996)
Luminance0.8174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ED72 #727DF8
analogous
#F8AA72 #F8ED72 #C0F872
triadic
#F8ED72 #72F8ED #ED72F8
tetradic
#F8ED72 #72F8AA #727DF8 #F872C0
square
#F8ED72 #72F8AA #727DF8 #F872C0
split-complementary
#F8ED72 #72C0F8 #AA72F8
monochromatic
#E4D20B #F5E638 #F8ED72 #FBF4AC #FEFBE2

Accessibility & contrast

On white

1.21
#F8ED72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#F8ED72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ED72
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ED72#FFFFFF#000000##000000
##F8ED721.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE666
Deuteranopia (green-blind)
#FFEC78
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f8ed72;
/* rgb */ color: rgb(248, 237, 114);
/* oklch */ color: oklch(93.1% 0.144 104.2);
Tailwind
colors: {
  custom: {
    50: '#fdf29e',
    500: '#f8ed72',
    950: '#000000',
  },
}
SCSS
$custom: #f8ed72;
$custom-light: #fdf29e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ed72",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 114
  },
  "hsl": {
    "h": 55.075,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93099,
    "c": 0.14442,
    "h": 104.2
  },
  "luminance": 0.8174
}

Semantic roles & 50–950 ramp

primary
#F8ED72
secondary
#3B48D3
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8ED72

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

Preview Lab → · Contrast checker → · Palette generator →

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