#F8DB62#F8DB62

#F8DB62 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.3% C 0.143 H 95.9°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#F8DB62
RGBrgb(248, 219, 98)
HSLhsl(48, 91%, 68%)
HSVhsv(48, 60%, 97%)
CMYKcmyk(0%, 11.7%, 60.5%, 2.7%)
CIE-LABlab(87.73, -3.79, 61.73)
CIE-LCHlch(87.73, 61.84, 93.51°)
OKLaboklab(89.3% -0.0146 0.1419)
OKLCHoklch(89.3% 0.143 95.9)
XYZxyz(66.2504, 71.5045, 21.8650)
Luminance0.7150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB62 #627FF8
analogous
#F89062 #F8DB62 #CAF862
triadic
#F8DB62 #62F8DB #DB62F8
tetradic
#F8DB62 #62F890 #627FF8 #F862CA
square
#F8DB62 #62F890 #627FF8 #F862CA
split-complementary
#F8DB62 #62CAF8 #9062F8
monochromatic
#D6AF0A #F5CE27 #F8DB62 #FBE89D #FDF6D7

Accessibility & contrast

On white

1.37
#F8DB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.30
#F8DB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DB62
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DB62#FFFFFF#000000##000000
##F8DB621.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD755
Deuteranopia (green-blind)
#F7E068
Tritanopia (blue-blind)
#FFCCC1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f8db62;
/* rgb */ color: rgb(248, 219, 98);
/* oklch */ color: oklch(89.3% 0.143 95.9);
Tailwind
colors: {
  custom: {
    50: '#fee593',
    500: '#f8db62',
    950: '#000000',
  },
}
SCSS
$custom: #f8db62;
$custom-light: #fee593;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db62",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 98
  },
  "hsl": {
    "h": 48.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89297,
    "c": 0.14268,
    "h": 95.9
  },
  "luminance": 0.71501
}

Semantic roles & 50–950 ramp

primary
#F8DB62
secondary
#2E4DD0
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8DB62

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

Preview Lab → · Contrast checker → · Palette generator →

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