#F8D95A#F8D95A

#F8D95A is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.8% C 0.147 H 95.5°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#F8D95A
RGBrgb(248, 217, 90)
HSLhsl(48, 92%, 66%)
HSVhsv(48, 64%, 97%)
CMYKcmyk(0%, 12.5%, 63.7%, 2.7%)
CIE-LABlab(87.16, -3.28, 64.54)
CIE-LCHlch(87.16, 64.63, 92.91°)
OKLaboklab(88.82% -0.0141 0.1468)
OKLCHoklch(88.82% 0.147 95.5)
XYZxyz(65.3727, 70.3236, 19.8013)
Luminance0.7032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D95A #5A79F8
analogous
#F88A5A #F8D95A #C8F85A
triadic
#F8D95A #5AF8D9 #D95AF8
tetradic
#F8D95A #5AF88A #5A79F8 #F85AC8
square
#F8D95A #5AF88A #5A79F8 #F85AC8
split-complementary
#F8D95A #5AC8F8 #8A5AF8
monochromatic
#CFA809 #F6CB1F #F8D95A #FAE795 #FDF4CF

Accessibility & contrast

On white

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

On black

15.06
#F8D95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D95A
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D95A#FFFFFF#000000##000000
##F8D95A1.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8d95a;
/* rgb */ color: rgb(248, 217, 90);
/* oklch */ color: oklch(88.8% 0.147 95.5);
Tailwind
colors: {
  custom: {
    50: '#fee48e',
    500: '#f8d95a',
    950: '#000000',
  },
}
SCSS
$custom: #f8d95a;
$custom-light: #fee48e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d95a",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 90
  },
  "hsl": {
    "h": 48.228,
    "s": 91.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.88821,
    "c": 0.14749,
    "h": 95.5
  },
  "luminance": 0.7032
}

Semantic roles & 50–950 ramp

primary
#F8D95A
secondary
#2C4BCA
accent
#2DE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D95A

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

Preview Lab → · Contrast checker → · Palette generator →

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