#F8CE4B#F8CE4B

#F8CE4B is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.5% C 0.151 H 90.8°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#F8CE4B
RGBrgb(248, 206, 75)
HSLhsl(45, 93%, 63%)
HSVhsv(45, 70%, 97%)
CMYKcmyk(0%, 16.9%, 69.8%, 2.7%)
CIE-LABlab(84.28, 1.51, 67.67)
CIE-LCHlch(84.28, 67.69, 88.72°)
OKLaboklab(86.52% -0.002 0.1511)
OKLCHoklch(86.52% 0.151 90.8)
XYZxyz(62.0561, 64.6108, 15.8578)
Luminance0.6461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8CE4B #4B75F8
analogous
#F8784B #F8CE4B #CBF84B
triadic
#F8CE4B #4BF8CE #CE4BF8
tetradic
#F8CE4B #4BF878 #4B75F8 #F84BCB
square
#F8CE4B #4BF878 #4B75F8 #F84BCB
split-complementary
#F8CE4B #4BCBF8 #784BF8
monochromatic
#C19408 #F6BE10 #F8CE4B #FADE86 #FDEEC1

Accessibility & contrast

On white

1.51
#F8CE4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#F8CE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8CE4B
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8CE4B#FFFFFF#000000##000000
##F8CE4B1.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB39
Deuteranopia (green-blind)
#EFD752
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f8ce4b;
/* rgb */ color: rgb(248, 206, 75);
/* oklch */ color: oklch(86.5% 0.151 90.8);
Tailwind
colors: {
  custom: {
    50: '#ffdc84',
    500: '#f8ce4b',
    950: '#000000',
  },
}
SCSS
$custom: #f8ce4b;
$custom-light: #ffdc84;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ce4b",
  "rgb": {
    "r": 248,
    "g": 206,
    "b": 75
  },
  "hsl": {
    "h": 45.434,
    "s": 92.513,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86515,
    "c": 0.15106,
    "h": 90.8
  },
  "luminance": 0.64607
}

Semantic roles & 50–950 ramp

primary
#F8CE4B
secondary
#294DBE
accent
#38E600
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#19150B
muted
#87847E

Preview Lab

Preview with #F8CE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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