#F5D96D#F5D96D

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

Color values

HEX#F5D96D
RGBrgb(245, 217, 109)
HSLhsl(48, 87%, 69%)
HSVhsv(48, 56%, 96%)
CMYKcmyk(0%, 11.4%, 55.5%, 3.9%)
CIE-LABlab(87.07, -3.22, 55.94)
CIE-LCHlch(87.07, 56.04, 93.29°)
OKLaboklab(88.75% -0.0115 0.1309)
OKLCHoklch(88.75% 0.131 95)
XYZxyz(65.2319, 70.1453, 24.5684)
Luminance0.7014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D96D #6D89F5
analogous
#F5956D #F5D96D #CDF56D
triadic
#F5D96D #6DF5D9 #D96DF5
tetradic
#F5D96D #6DF595 #6D89F5 #F56DCD
square
#F5D96D #6DF595 #6D89F5 #F56DCD
split-complementary
#F5D96D #6DCDF5 #956DF5
monochromatic
#D9AF0F #F1CA34 #F5D96D #F9E8A6 #FDF7E0

Accessibility & contrast

On white

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

On black

15.03
#F5D96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D96D
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D96D#FFFFFF#000000##000000
##F5D96D1.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD563
Deuteranopia (green-blind)
#F3DE72
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f5d96d;
/* rgb */ color: rgb(245, 217, 109);
/* oklch */ color: oklch(88.7% 0.131 95.0);
Tailwind
colors: {
  custom: {
    50: '#fbe49a',
    500: '#f5d96d',
    950: '#000000',
  },
}
SCSS
$custom: #f5d96d;
$custom-light: #fbe49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d96d",
  "rgb": {
    "r": 245,
    "g": 217,
    "b": 109
  },
  "hsl": {
    "h": 47.647,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88747,
    "c": 0.13138,
    "h": 95
  },
  "luminance": 0.70142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5D96D

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

Preview Lab → · Contrast checker → · Palette generator →

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