#F8D95B#F8D95B

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

Color values

HEX#F8D95B
RGBrgb(248, 217, 91)
HSLhsl(48, 92%, 66%)
HSVhsv(48, 63%, 97%)
CMYKcmyk(0%, 12.5%, 63.3%, 2.7%)
CIE-LABlab(87.16, -3.22, 64.13)
CIE-LCHlch(87.16, 64.21, 92.87°)
OKLaboklab(88.83% -0.0138 0.1461)
OKLCHoklch(88.83% 0.147 95.4)
XYZxyz(65.4156, 70.3408, 20.0270)
Luminance0.7034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D95B #5B7AF8
analogous
#F88B5B #F8D95B #C9F85B
triadic
#F8D95B #5BF8D9 #D95BF8
tetradic
#F8D95B #5BF88B #5B7AF8 #F85BC9
square
#F8D95B #5BF88B #5B7AF8 #F85BC9
split-complementary
#F8D95B #5BC9F8 #8B5BF8
monochromatic
#D0A809 #F5CB20 #F8D95B #FBE796 #FDF4D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D95B#FFFFFF#000000##000000
##F8D95B1.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)
#EED54C
Deuteranopia (green-blind)
#F6DF61
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d95b;
/* rgb */ color: rgb(248, 217, 91);
/* oklch */ color: oklch(88.8% 0.147 95.4);
Tailwind
colors: {
  custom: {
    50: '#fee48e',
    500: '#f8d95b',
    950: '#000000',
  },
}
SCSS
$custom: #f8d95b;
$custom-light: #fee48e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d95b",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 48.153,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8883,
    "c": 0.14674,
    "h": 95.4
  },
  "luminance": 0.70337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8D95B

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

Preview Lab → · Contrast checker → · Palette generator →

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