#F8EC6F#F8EC6F

#F8EC6F is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.9% C 0.146 H 103.8°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#F8EC6F
RGBrgb(248, 236, 111)
HSLhsl(55, 91%, 70%)
HSVhsv(55, 55%, 97%)
CMYKcmyk(0%, 4.8%, 55.2%, 2.7%)
CIE-LABlab(92.18, -11.37, 60.98)
CIE-LCHlch(92.18, 62.03, 100.56°)
OKLaboklab(92.86% -0.0349 0.1419)
OKLCHoklch(92.86% 0.146 103.8)
XYZxyz(71.5784, 81.0975, 26.9188)
Luminance0.8109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EC6F #6F7BF8
analogous
#F8A86F #F8EC6F #BFF86F
triadic
#F8EC6F #6FF8EC #EC6FF8
tetradic
#F8EC6F #6FF8A8 #6F7BF8 #F86FBF
square
#F8EC6F #6FF8A8 #6F7BF8 #F86FBF
split-complementary
#F8EC6F #6FBFF8 #A86FF8
monochromatic
#E2CF0B #F5E435 #F8EC6F #FBF4A9 #FEFBE2

Accessibility & contrast

On white

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

On black

17.22
#F8EC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EC6F
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EC6F#FFFFFF#000000##000000
##F8EC6F1.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE562
Deuteranopia (green-blind)
#FFEB75
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f8ec6f;
/* rgb */ color: rgb(248, 236, 111);
/* oklch */ color: oklch(92.9% 0.146 103.8);
Tailwind
colors: {
  custom: {
    50: '#fdf19c',
    500: '#f8ec6f',
    950: '#000000',
  },
}
SCSS
$custom: #f8ec6f;
$custom-light: #fdf19c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ec6f",
  "rgb": {
    "r": 248,
    "g": 236,
    "b": 111
  },
  "hsl": {
    "h": 54.745,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92862,
    "c": 0.14612,
    "h": 103.8
  },
  "luminance": 0.81095
}

Semantic roles & 50–950 ramp

primary
#F8EC6F
secondary
#3846D3
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8EC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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