#F8CF4A#F8CF4A

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

Color values

HEX#F8CF4A
RGBrgb(248, 207, 74)
HSLhsl(46, 93%, 63%)
HSVhsv(46, 70%, 97%)
CMYKcmyk(0%, 16.5%, 70.2%, 2.7%)
CIE-LABlab(84.53, 0.95, 68.31)
CIE-LCHlch(84.53, 68.32, 89.21°)
OKLaboklab(86.7% -0.0037 0.1522)
OKLCHoklch(86.7% 0.152 91.4)
XYZxyz(62.2636, 65.0802, 15.7595)
Luminance0.6508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8CF4A #4A73F8
analogous
#F8784A #F8CF4A #CAF84A
triadic
#F8CF4A #4AF8CF #CF4AF8
tetradic
#F8CF4A #4AF878 #4A73F8 #F84ACA
square
#F8CF4A #4AF878 #4A73F8 #F84ACA
split-complementary
#F8CF4A #4ACAF8 #784AF8
monochromatic
#C09507 #F6BF0F #F8CF4A #FADF85 #FDEEC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8CF4A#FFFFFF#000000##000000
##F8CF4A1.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)
#E5CC37
Deuteranopia (green-blind)
#EFD851
Tritanopia (blue-blind)
#FFBEB4
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f8cf4a;
/* rgb */ color: rgb(248, 207, 74);
/* oklch */ color: oklch(86.7% 0.152 91.4);
Tailwind
colors: {
  custom: {
    50: '#ffdd84',
    500: '#f8cf4a',
    950: '#000000',
  },
}
SCSS
$custom: #f8cf4a;
$custom-light: #ffdd84;
$custom-dark: #000000;
JSON
{
  "hex": "#f8cf4a",
  "rgb": {
    "r": 248,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 45.862,
    "s": 92.553,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86704,
    "c": 0.15228,
    "h": 91.4
  },
  "luminance": 0.65077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8CF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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