#F8EF6C#F8EF6C

#F8EF6C is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.4% C 0.152 H 105.3°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#F8EF6C
RGBrgb(248, 239, 108)
HSLhsl(56, 91%, 70%)
HSVhsv(56, 56%, 97%)
CMYKcmyk(0%, 3.6%, 56.5%, 2.7%)
CIE-LABlab(92.92, -13.07, 63.15)
CIE-LCHlch(92.92, 64.48, 101.69°)
OKLaboklab(93.44% -0.0401 0.1462)
OKLCHoklch(93.44% 0.152 105.3)
XYZxyz(72.2870, 82.7745, 26.3537)
Luminance0.8277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF6C #6C75F8
analogous
#F8A96C #F8EF6C #BBF86C
triadic
#F8EF6C #6CF8EF #EF6CF8
tetradic
#F8EF6C #6CF8A9 #6C75F8 #F86CBB
square
#F8EF6C #6CF8A9 #6C75F8 #F86CBB
split-complementary
#F8EF6C #6CBBF8 #A96CF8
monochromatic
#DFD10B #F5E932 #F8EF6C #FBF5A6 #FEFCE1

Accessibility & contrast

On white

1.20
#F8EF6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.55
#F8EF6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EF6C
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EF6C#FFFFFF#000000##000000
##F8EF6C1.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75E
Deuteranopia (green-blind)
#FFED73
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f8ef6c;
/* rgb */ color: rgb(248, 239, 108);
/* oklch */ color: oklch(93.4% 0.152 105.3);
Tailwind
colors: {
  custom: {
    50: '#fdf49a',
    500: '#f8ef6c',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef6c;
$custom-light: #fdf49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef6c",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 108
  },
  "hsl": {
    "h": 56.143,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93441,
    "c": 0.15158,
    "h": 105.3
  },
  "luminance": 0.82772
}

Semantic roles & 50–950 ramp

primary
#F8EF6C
secondary
#3640D2
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8EF6C

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

Preview Lab → · Contrast checker → · Palette generator →

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