#F8DF62#F8DF62

#F8DF62 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.1% C 0.146 H 98.0°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#F8DF62
RGBrgb(248, 223, 98)
HSLhsl(50, 91%, 68%)
HSVhsv(50, 60%, 97%)
CMYKcmyk(0%, 10.1%, 60.5%, 2.7%)
CIE-LABlab(88.74, -5.80, 62.84)
CIE-LCHlch(88.74, 63.11, 95.28°)
OKLaboklab(90.1% -0.0204 0.1443)
OKLCHoklch(90.1% 0.146 98)
XYZxyz(67.3064, 73.6167, 22.2170)
Luminance0.7361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF62 #627BF8
analogous
#F89462 #F8DF62 #C6F862
triadic
#F8DF62 #62F8DF #DF62F8
tetradic
#F8DF62 #62F894 #627BF8 #F862C6
square
#F8DF62 #62F894 #627BF8 #F862C6
split-complementary
#F8DF62 #62C6F8 #9462F8
monochromatic
#D6B40A #F5D327 #F8DF62 #FBEB9D #FDF7D7

Accessibility & contrast

On white

1.34
#F8DF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.72
#F8DF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF62
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF62#FFFFFF#000000##000000
##F8DF621.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA54
Deuteranopia (green-blind)
#FAE368
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f8df62;
/* rgb */ color: rgb(248, 223, 98);
/* oklch */ color: oklch(90.1% 0.146 98.0);
Tailwind
colors: {
  custom: {
    50: '#fee893',
    500: '#f8df62',
    950: '#000000',
  },
}
SCSS
$custom: #f8df62;
$custom-light: #fee893;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df62",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 98
  },
  "hsl": {
    "h": 50,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90098,
    "c": 0.14575,
    "h": 98
  },
  "luminance": 0.73614
}

Semantic roles & 50–950 ramp

primary
#F8DF62
secondary
#2E49D0
accent
#26E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F8DF62

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

Preview Lab → · Contrast checker → · Palette generator →

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