#F8CF4B#F8CF4B

#F8CF4B is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.7% C 0.152 H 91.3°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#F8CF4B
RGBrgb(248, 207, 75)
HSLhsl(46, 93%, 63%)
HSVhsv(46, 70%, 97%)
CMYKcmyk(0%, 16.5%, 69.8%, 2.7%)
CIE-LABlab(84.53, 1.00, 67.93)
CIE-LCHlch(84.53, 67.93, 89.16°)
OKLaboklab(86.71% -0.0035 0.1516)
OKLCHoklch(86.71% 0.152 91.3)
XYZxyz(62.2976, 65.0938, 15.9383)
Luminance0.6509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8CF4B #4B74F8
analogous
#F8784B #F8CF4B #CBF84B
triadic
#F8CF4B #4BF8CF #CF4BF8
tetradic
#F8CF4B #4BF878 #4B74F8 #F84BCB
square
#F8CF4B #4BF878 #4B74F8 #F84BCB
split-complementary
#F8CF4B #4BCBF8 #784BF8
monochromatic
#C19508 #F6BF10 #F8CF4B #FADF86 #FDEEC1

Accessibility & contrast

On white

1.50
#F8CF4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#F8CF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8CF4B
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8CF4B#FFFFFF#000000##000000
##F8CF4B1.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC39
Deuteranopia (green-blind)
#EFD852
Tritanopia (blue-blind)
#FFBEB4
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f8cf4b;
/* rgb */ color: rgb(248, 207, 75);
/* oklch */ color: oklch(86.7% 0.152 91.3);
Tailwind
colors: {
  custom: {
    50: '#ffdd84',
    500: '#f8cf4b',
    950: '#000000',
  },
}
SCSS
$custom: #f8cf4b;
$custom-light: #ffdd84;
$custom-dark: #000000;
JSON
{
  "hex": "#f8cf4b",
  "rgb": {
    "r": 248,
    "g": 207,
    "b": 75
  },
  "hsl": {
    "h": 45.78,
    "s": 92.513,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86711,
    "c": 0.15163,
    "h": 91.3
  },
  "luminance": 0.6509
}

Semantic roles & 50–950 ramp

primary
#F8CF4B
secondary
#294CBE
accent
#36E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150B
muted
#87847E

Preview Lab

Preview with #F8CF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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