#F8D762#F8D762

#F8D762 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.5% C 0.140 H 93.6°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#F8D762
RGBrgb(248, 215, 98)
HSLhsl(47, 91%, 68%)
HSVhsv(47, 60%, 97%)
CMYKcmyk(0%, 13.3%, 60.5%, 2.7%)
CIE-LABlab(86.72, -1.76, 60.61)
CIE-LCHlch(86.72, 60.63, 91.66°)
OKLaboklab(88.5% -0.0088 0.1395)
OKLCHoklch(88.5% 0.14 93.6)
XYZxyz(65.2193, 69.4425, 21.5213)
Luminance0.6944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D762 #6283F8
analogous
#F88C62 #F8D762 #CEF862
triadic
#F8D762 #62F8D7 #D762F8
tetradic
#F8D762 #62F88C #6283F8 #F862CE
square
#F8D762 #62F88C #6283F8 #F862CE
split-complementary
#F8D762 #62CEF8 #8C62F8
monochromatic
#D6A90A #F5C827 #F8D762 #FBE69D #FDF5D7

Accessibility & contrast

On white

1.41
#F8D762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.89
#F8D762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D762
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D762#FFFFFF#000000##000000
##F8D7621.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD356
Deuteranopia (green-blind)
#F4DD67
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f8d762;
/* rgb */ color: rgb(248, 215, 98);
/* oklch */ color: oklch(88.5% 0.140 93.6);
Tailwind
colors: {
  custom: {
    50: '#fee393',
    500: '#f8d762',
    950: '#000000',
  },
}
SCSS
$custom: #f8d762;
$custom-light: #fee393;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d762",
  "rgb": {
    "r": 248,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 46.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88501,
    "c": 0.13981,
    "h": 93.6
  },
  "luminance": 0.69439
}

Semantic roles & 50–950 ramp

primary
#F8D762
secondary
#2E52D0
accent
#32E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D762

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

Preview Lab → · Contrast checker → · Palette generator →

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