#F8D85B#F8D85B

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

Color values

HEX#F8D85B
RGBrgb(248, 216, 91)
HSLhsl(48, 92%, 66%)
HSVhsv(48, 63%, 97%)
CMYKcmyk(0%, 12.9%, 63.3%, 2.7%)
CIE-LABlab(86.91, -2.71, 63.86)
CIE-LCHlch(86.91, 63.91, 92.43°)
OKLaboklab(88.63% -0.0123 0.1455)
OKLCHoklch(88.63% 0.146 94.8)
XYZxyz(65.1586, 69.8268, 19.9413)
Luminance0.6982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D85B #5B7BF8
analogous
#F88A5B #F8D85B #C9F85B
triadic
#F8D85B #5BF8D8 #D85BF8
tetradic
#F8D85B #5BF88A #5B7BF8 #F85BC9
square
#F8D85B #5BF88A #5B7BF8 #F85BC9
split-complementary
#F8D85B #5BC9F8 #8A5BF8
monochromatic
#D0A709 #F5CA20 #F8D85B #FBE696 #FDF4D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D85B#FFFFFF#000000##000000
##F8D85B1.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)
#EDD44D
Deuteranopia (green-blind)
#F5DE61
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d85b;
/* rgb */ color: rgb(248, 216, 91);
/* oklch */ color: oklch(88.6% 0.146 94.8);
Tailwind
colors: {
  custom: {
    50: '#fee38e',
    500: '#f8d85b',
    950: '#000000',
  },
}
SCSS
$custom: #f8d85b;
$custom-light: #fee38e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d85b",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 47.771,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88631,
    "c": 0.14603,
    "h": 94.8
  },
  "luminance": 0.69824
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8D85B

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

Preview Lab → · Contrast checker → · Palette generator →

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