#F8D75B#F8D75B

#F8D75B is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.4% C 0.145 H 94.3°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#F8D75B
RGBrgb(248, 215, 91)
HSLhsl(47, 92%, 66%)
HSVhsv(47, 63%, 97%)
CMYKcmyk(0%, 13.3%, 63.3%, 2.7%)
CIE-LABlab(86.66, -2.20, 63.58)
CIE-LCHlch(86.66, 63.62, 91.99°)
OKLaboklab(88.43% -0.0109 0.1449)
OKLCHoklch(88.43% 0.145 94.3)
XYZxyz(64.9032, 69.3160, 19.8562)
Luminance0.6931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D75B #5B7CF8
analogous
#F8895B #F8D75B #CAF85B
triadic
#F8D75B #5BF8D7 #D75BF8
tetradic
#F8D75B #5BF889 #5B7CF8 #F85BCA
square
#F8D75B #5BF889 #5B7CF8 #F85BCA
split-complementary
#F8D75B #5BCAF8 #895BF8
monochromatic
#D0A609 #F5C920 #F8D75B #FBE596 #FDF4D0

Accessibility & contrast

On white

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

On black

14.86
#F8D75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D75B
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D75B#FFFFFF#000000##000000
##F8D75B1.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8d75b;
/* rgb */ color: rgb(248, 215, 91);
/* oklch */ color: oklch(88.4% 0.145 94.3);
Tailwind
colors: {
  custom: {
    50: '#fee38e',
    500: '#f8d75b',
    950: '#000000',
  },
}
SCSS
$custom: #f8d75b;
$custom-light: #fee38e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d75b",
  "rgb": {
    "r": 248,
    "g": 215,
    "b": 91
  },
  "hsl": {
    "h": 47.389,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88432,
    "c": 0.14534,
    "h": 94.3
  },
  "luminance": 0.69313
}

Semantic roles & 50–950 ramp

primary
#F8D75B
secondary
#2C4ECB
accent
#30E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D75B

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

Preview Lab → · Contrast checker → · Palette generator →

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