#F8ED6B#F8ED6B

#F8ED6B is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 93.0% C 0.151 H 104.5°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#F8ED6B
RGBrgb(248, 237, 107)
HSLhsl(55, 91%, 70%)
HSVhsv(55, 57%, 97%)
CMYKcmyk(0%, 4.4%, 56.9%, 2.7%)
CIE-LABlab(92.39, -12.15, 62.99)
CIE-LCHlch(92.39, 64.16, 100.92°)
OKLaboklab(93.02% -0.0376 0.1458)
OKLCHoklch(93.02% 0.151 104.5)
XYZxyz(71.6518, 81.5888, 25.8810)
Luminance0.8159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ED6B #6B76F8
analogous
#F8A76B #F8ED6B #BDF86B
triadic
#F8ED6B #6BF8ED #ED6BF8
tetradic
#F8ED6B #6BF8A7 #6B76F8 #F86BBD
square
#F8ED6B #6BF8A7 #6B76F8 #F86BBD
split-complementary
#F8ED6B #6BBDF8 #A76BF8
monochromatic
#DECE0B #F5E631 #F8ED6B #FBF4A5 #FEFBE0

Accessibility & contrast

On white

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

On black

17.32
#F8ED6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ED6B
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ED6B#FFFFFF#000000##000000
##F8ED6B1.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE65D
Deuteranopia (green-blind)
#FFEC72
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f8ed6b;
/* rgb */ color: rgb(248, 237, 107);
/* oklch */ color: oklch(93.0% 0.151 104.5);
Tailwind
colors: {
  custom: {
    50: '#fdf299',
    500: '#f8ed6b',
    950: '#000000',
  },
}
SCSS
$custom: #f8ed6b;
$custom-light: #fdf299;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ed6b",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 107
  },
  "hsl": {
    "h": 55.319,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93023,
    "c": 0.15051,
    "h": 104.5
  },
  "luminance": 0.81586
}

Semantic roles & 50–950 ramp

primary
#F8ED6B
secondary
#3541D2
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8ED6B

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

Preview Lab → · Contrast checker → · Palette generator →

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