#F8EB72#F8EB72

#F8EB72 is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.7% C 0.143 H 103.2°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#F8EB72
RGBrgb(248, 235, 114)
HSLhsl(54, 91%, 71%)
HSVhsv(54, 54%, 97%)
CMYKcmyk(0%, 5.2%, 54%, 2.7%)
CIE-LABlab(91.95, -10.65, 59.38)
CIE-LCHlch(91.95, 60.33, 100.17°)
OKLaboklab(92.69% -0.0325 0.1388)
OKLCHoklch(92.69% 0.143 103.2)
XYZxyz(71.4592, 80.5905, 27.7077)
Luminance0.8059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EB72 #727FF8
analogous
#F8A872 #F8EB72 #C2F872
triadic
#F8EB72 #72F8EB #EB72F8
tetradic
#F8EB72 #72F8A8 #727FF8 #F872C2
square
#F8EB72 #72F8A8 #727FF8 #F872C2
split-complementary
#F8EB72 #72C2F8 #A872F8
monochromatic
#E4CF0B #F5E338 #F8EB72 #FBF3AC #FEFBE2

Accessibility & contrast

On white

1.23
#F8EB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#F8EB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EB72
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EB72#FFFFFF#000000##000000
##F8EB721.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE466
Deuteranopia (green-blind)
#FFEB78
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f8eb72;
/* rgb */ color: rgb(248, 235, 114);
/* oklch */ color: oklch(92.7% 0.143 103.2);
Tailwind
colors: {
  custom: {
    50: '#fdf19e',
    500: '#f8eb72',
    950: '#000000',
  },
}
SCSS
$custom: #f8eb72;
$custom-light: #fdf19e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8eb72",
  "rgb": {
    "r": 248,
    "g": 235,
    "b": 114
  },
  "hsl": {
    "h": 54.179,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92692,
    "c": 0.14252,
    "h": 103.2
  },
  "luminance": 0.80588
}

Semantic roles & 50–950 ramp

primary
#F8EB72
secondary
#3B4AD3
accent
#16E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8EB72

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

Preview Lab → · Contrast checker → · Palette generator →

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