#F8EC67#F8EC67

#F8EC67 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.8% C 0.153 H 104.2°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#F8EC67
RGBrgb(248, 236, 103)
HSLhsl(55, 91%, 69%)
HSVhsv(55, 58%, 97%)
CMYKcmyk(0%, 4.8%, 58.5%, 2.7%)
CIE-LABlab(92.10, -11.94, 64.40)
CIE-LCHlch(92.10, 65.50, 100.50°)
OKLaboklab(92.78% -0.0374 0.1483)
OKLCHoklch(92.78% 0.153 104.2)
XYZxyz(71.1575, 80.9291, 24.7019)
Luminance0.8093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EC67 #6773F8
analogous
#F8A467 #F8EC67 #BCF867
triadic
#F8EC67 #67F8EC #EC67F8
tetradic
#F8EC67 #67F8A4 #6773F8 #F867BC
square
#F8EC67 #67F8A4 #6773F8 #F867BC
split-complementary
#F8EC67 #67BCF8 #A467F8
monochromatic
#DBC90A #F5E52C #F8EC67 #FBF3A2 #FDFBDC

Accessibility & contrast

On white

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

On black

17.19
#F8EC67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EC67
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EC67#FFFFFF#000000##000000
##F8EC671.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE558
Deuteranopia (green-blind)
#FFEB6E
Tritanopia (blue-blind)
#FFDECF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f8ec67;
/* rgb */ color: rgb(248, 236, 103);
/* oklch */ color: oklch(92.8% 0.153 104.2);
Tailwind
colors: {
  custom: {
    50: '#fdf197',
    500: '#f8ec67',
    950: '#000000',
  },
}
SCSS
$custom: #f8ec67;
$custom-light: #fdf197;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ec67",
  "rgb": {
    "r": 248,
    "g": 236,
    "b": 103
  },
  "hsl": {
    "h": 55.034,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.92778,
    "c": 0.15291,
    "h": 104.2
  },
  "luminance": 0.80927
}

Semantic roles & 50–950 ramp

primary
#F8EC67
secondary
#323FD2
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8EC67

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

Preview Lab → · Contrast checker → · Palette generator →

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