#F8CD4B#F8CD4B

#F8CD4B is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 86.3% C 0.151 H 90.2°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#F8CD4B
RGBrgb(248, 205, 75)
HSLhsl(45, 93%, 63%)
HSVhsv(45, 70%, 97%)
CMYKcmyk(0%, 17.3%, 69.8%, 2.7%)
CIE-LABlab(84.03, 2.02, 67.42)
CIE-LCHlch(84.03, 67.45, 88.28°)
OKLaboklab(86.32% -0.0005 0.1505)
OKLCHoklch(86.32% 0.151 90.2)
XYZxyz(61.8161, 64.1309, 15.7778)
Luminance0.6413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8CD4B #4B76F8
analogous
#F8764B #F8CD4B #CCF84B
triadic
#F8CD4B #4BF8CD #CD4BF8
tetradic
#F8CD4B #4BF876 #4B76F8 #F84BCC
square
#F8CD4B #4BF876 #4B76F8 #F84BCC
split-complementary
#F8CD4B #4BCCF8 #764BF8
monochromatic
#C19308 #F6BD10 #F8CD4B #FADD86 #FDEEC1

Accessibility & contrast

On white

1.52
#F8CD4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#F8CD4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8CD4B
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8CD4B#FFFFFF#000000##000000
##F8CD4B1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB39
Deuteranopia (green-blind)
#EED751
Tritanopia (blue-blind)
#FFBCB2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f8cd4b;
/* rgb */ color: rgb(248, 205, 75);
/* oklch */ color: oklch(86.3% 0.151 90.2);
Tailwind
colors: {
  custom: {
    50: '#ffdb84',
    500: '#f8cd4b',
    950: '#000000',
  },
}
SCSS
$custom: #f8cd4b;
$custom-light: #ffdb84;
$custom-dark: #000000;
JSON
{
  "hex": "#f8cd4b",
  "rgb": {
    "r": 248,
    "g": 205,
    "b": 75
  },
  "hsl": {
    "h": 45.087,
    "s": 92.513,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86318,
    "c": 0.15052,
    "h": 90.2
  },
  "luminance": 0.64127
}

Semantic roles & 50–950 ramp

primary
#F8CD4B
secondary
#294EBE
accent
#39E600
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#19150B
muted
#87847E

Preview Lab

Preview with #F8CD4B

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

Preview Lab → · Contrast checker → · Palette generator →

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