#F8D85A#F8D85A

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

Color values

HEX#F8D85A
RGBrgb(248, 216, 90)
HSLhsl(48, 92%, 66%)
HSVhsv(48, 64%, 97%)
CMYKcmyk(0%, 12.9%, 63.7%, 2.7%)
CIE-LABlab(86.90, -2.77, 64.27)
CIE-LCHlch(86.90, 64.33, 92.47°)
OKLaboklab(88.62% -0.0126 0.1463)
OKLCHoklch(88.62% 0.147 94.9)
XYZxyz(65.1157, 69.8097, 19.7157)
Luminance0.6981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D85A #5A7AF8
analogous
#F8895A #F8D85A #C9F85A
triadic
#F8D85A #5AF8D8 #D85AF8
tetradic
#F8D85A #5AF889 #5A7AF8 #F85AC9
square
#F8D85A #5AF889 #5A7AF8 #F85AC9
split-complementary
#F8D85A #5AC9F8 #895AF8
monochromatic
#CFA709 #F6CA1F #F8D85A #FAE695 #FDF4CF

Accessibility & contrast

On white

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

On black

14.96
#F8D85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D85A
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D85A#FFFFFF#000000##000000
##F8D85A1.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44B
Deuteranopia (green-blind)
#F5DE60
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d85a;
/* rgb */ color: rgb(248, 216, 90);
/* oklch */ color: oklch(88.6% 0.147 94.9);
Tailwind
colors: {
  custom: {
    50: '#fee38e',
    500: '#f8d85a',
    950: '#000000',
  },
}
SCSS
$custom: #f8d85a;
$custom-light: #fee38e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d85a",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 90
  },
  "hsl": {
    "h": 47.848,
    "s": 91.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.88622,
    "c": 0.14679,
    "h": 94.9
  },
  "luminance": 0.69806
}

Semantic roles & 50–950 ramp

primary
#F8D85A
secondary
#2C4CCA
accent
#2EE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D85A

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

Preview Lab → · Contrast checker → · Palette generator →

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