#F8EC63#F8EC63

#F8EC63 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.7% C 0.156 H 104.3°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#F8EC63
RGBrgb(248, 236, 99)
HSLhsl(55, 91%, 68%)
HSVhsv(55, 60%, 97%)
CMYKcmyk(0%, 4.8%, 60.1%, 2.7%)
CIE-LABlab(92.07, -12.21, 66.06)
CIE-LCHlch(92.07, 67.18, 100.47°)
OKLaboklab(92.74% -0.0386 0.1513)
OKLCHoklch(92.74% 0.156 104.3)
XYZxyz(70.9615, 80.8507, 23.6698)
Luminance0.8085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EC63 #636FF8
analogous
#F8A163 #F8EC63 #B9F863
triadic
#F8EC63 #63F8EC #EC63F8
tetradic
#F8EC63 #63F8A1 #636FF8 #F863B9
square
#F8EC63 #63F8A1 #636FF8 #F863B9
split-complementary
#F8EC63 #63B9F8 #A163F8
monochromatic
#D7C60A #F5E528 #F8EC63 #FBF39E #FDFAD8

Accessibility & contrast

On white

1.22
#F8EC63 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.17
#F8EC63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EC63
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EC63#FFFFFF#000000##000000
##F8EC631.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE453
Deuteranopia (green-blind)
#FFEB6B
Tritanopia (blue-blind)
#FFDDCF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f8ec63;
/* rgb */ color: rgb(248, 236, 99);
/* oklch */ color: oklch(92.7% 0.156 104.3);
Tailwind
colors: {
  custom: {
    50: '#fef195',
    500: '#f8ec63',
    950: '#000000',
  },
}
SCSS
$custom: #f8ec63;
$custom-light: #fef195;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ec63",
  "rgb": {
    "r": 248,
    "g": 236,
    "b": 99
  },
  "hsl": {
    "h": 55.168,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.92739,
    "c": 0.15613,
    "h": 104.3
  },
  "luminance": 0.80848
}

Semantic roles & 50–950 ramp

primary
#F8EC63
secondary
#2E3BD1
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8EC63

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

Preview Lab → · Contrast checker → · Palette generator →

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