#F5D96C#F5D96C

#F5D96C is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.7% C 0.132 H 95.1°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#F5D96C
RGBrgb(245, 217, 108)
HSLhsl(48, 87%, 69%)
HSVhsv(48, 56%, 96%)
CMYKcmyk(0%, 11.4%, 55.9%, 3.9%)
CIE-LABlab(87.06, -3.30, 56.39)
CIE-LCHlch(87.06, 56.49, 93.34°)
OKLaboklab(88.74% -0.0118 0.1317)
OKLCHoklch(88.74% 0.132 95.1)
XYZxyz(65.1784, 70.1239, 24.2865)
Luminance0.7012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D96C #6C88F5
analogous
#F5956C #F5D96C #CDF56C
triadic
#F5D96C #6CF5D9 #D96CF5
tetradic
#F5D96C #6CF595 #6C88F5 #F56CCD
square
#F5D96C #6CF595 #6C88F5 #F56CCD
split-complementary
#F5D96C #6CCDF5 #956CF5
monochromatic
#D8AF0F #F1CA33 #F5D96C #F9E8A5 #FDF7DF

Accessibility & contrast

On white

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

On black

15.02
#F5D96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D96C
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D96C#FFFFFF#000000##000000
##F5D96C1.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD561
Deuteranopia (green-blind)
#F3DE71
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f5d96c;
/* rgb */ color: rgb(245, 217, 108);
/* oklch */ color: oklch(88.7% 0.132 95.1);
Tailwind
colors: {
  custom: {
    50: '#fbe499',
    500: '#f5d96c',
    950: '#000000',
  },
}
SCSS
$custom: #f5d96c;
$custom-light: #fbe499;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d96c",
  "rgb": {
    "r": 245,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 47.737,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88735,
    "c": 0.13226,
    "h": 95.1
  },
  "luminance": 0.70121
}

Semantic roles & 50–950 ramp

primary
#F5D96C
secondary
#3756CF
accent
#30E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D96C

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

Preview Lab → · Contrast checker → · Palette generator →

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