#F8D85C#F8D85C

#F8D85C is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.6% C 0.145 H 94.8°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#F8D85C
RGBrgb(248, 216, 92)
HSLhsl(48, 92%, 67%)
HSVhsv(48, 63%, 97%)
CMYKcmyk(0%, 12.9%, 62.9%, 2.7%)
CIE-LABlab(86.92, -2.65, 63.44)
CIE-LCHlch(86.92, 63.49, 92.39°)
OKLaboklab(88.64% -0.012 0.1448)
OKLCHoklch(88.64% 0.145 94.8)
XYZxyz(65.2020, 69.8442, 20.1700)
Luminance0.6984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D85C #5C7CF8
analogous
#F88A5C #F8D85C #CAF85C
triadic
#F8D85C #5CF8D8 #D85CF8
tetradic
#F8D85C #5CF88A #5C7CF8 #F85CCA
square
#F8D85C #5CF88A #5C7CF8 #F85CCA
split-complementary
#F8D85C #5CCAF8 #8A5CF8
monochromatic
#D1A809 #F5CA21 #F8D85C #FBE697 #FDF4D1

Accessibility & contrast

On white

1.40
#F8D85C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#F8D85C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D85C
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D85C#FFFFFF#000000##000000
##F8D85C1.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44E
Deuteranopia (green-blind)
#F5DE62
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d85c;
/* rgb */ color: rgb(248, 216, 92);
/* oklch */ color: oklch(88.6% 0.145 94.8);
Tailwind
colors: {
  custom: {
    50: '#fee38f',
    500: '#f8d85c',
    950: '#000000',
  },
}
SCSS
$custom: #f8d85c;
$custom-light: #fee38f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d85c",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 92
  },
  "hsl": {
    "h": 47.692,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.8864,
    "c": 0.14527,
    "h": 94.8
  },
  "luminance": 0.69841
}

Semantic roles & 50–950 ramp

primary
#F8D85C
secondary
#2C4DCC
accent
#2FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D85C

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

Preview Lab → · Contrast checker → · Palette generator →

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