#F8D95C#F8D95C

#F8D95C is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.8% C 0.146 H 95.3°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#F8D95C
RGBrgb(248, 217, 92)
HSLhsl(48, 92%, 67%)
HSVhsv(48, 63%, 97%)
CMYKcmyk(0%, 12.5%, 62.9%, 2.7%)
CIE-LABlab(87.17, -3.16, 63.71)
CIE-LCHlch(87.17, 63.79, 92.84°)
OKLaboklab(88.84% -0.0135 0.1454)
OKLCHoklch(88.84% 0.146 95.3)
XYZxyz(65.4590, 70.3581, 20.2557)
Luminance0.7036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D95C #5C7BF8
analogous
#F88B5C #F8D95C #C9F85C
triadic
#F8D95C #5CF8D9 #D95CF8
tetradic
#F8D95C #5CF88B #5C7BF8 #F85CC9
square
#F8D95C #5CF88B #5C7BF8 #F85CC9
split-complementary
#F8D95C #5CC9F8 #8B5CF8
monochromatic
#D1A909 #F5CB21 #F8D95C #FBE797 #FDF4D1

Accessibility & contrast

On white

1.39
#F8D95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.07
#F8D95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D95C
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D95C#FFFFFF#000000##000000
##F8D95C1.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54E
Deuteranopia (green-blind)
#F6DF62
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d95c;
/* rgb */ color: rgb(248, 217, 92);
/* oklch */ color: oklch(88.8% 0.146 95.3);
Tailwind
colors: {
  custom: {
    50: '#fee48f',
    500: '#f8d95c',
    950: '#000000',
  },
}
SCSS
$custom: #f8d95c;
$custom-light: #fee48f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d95c",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 92
  },
  "hsl": {
    "h": 48.077,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.8884,
    "c": 0.14597,
    "h": 95.3
  },
  "luminance": 0.70355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8D95C

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

Preview Lab → · Contrast checker → · Palette generator →

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