#F5D96B#F5D96B

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

Color values

HEX#F5D96B
RGBrgb(245, 217, 107)
HSLhsl(48, 87%, 69%)
HSVhsv(48, 56%, 96%)
CMYKcmyk(0%, 11.4%, 56.3%, 3.9%)
CIE-LABlab(87.05, -3.37, 56.84)
CIE-LCHlch(87.05, 56.94, 93.39°)
OKLaboklab(88.72% -0.0122 0.1326)
OKLCHoklch(88.72% 0.133 95.2)
XYZxyz(65.1255, 70.1027, 24.0078)
Luminance0.7010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D96B #6B87F5
analogous
#F5946B #F5D96B #CCF56B
triadic
#F5D96B #6BF5D9 #D96BF5
tetradic
#F5D96B #6BF594 #6B87F5 #F56BCC
square
#F5D96B #6BF594 #6B87F5 #F56BCC
split-complementary
#F5D96B #6BCCF5 #946BF5
monochromatic
#D7AE0F #F1CA32 #F5D96B #F9E8A4 #FDF6DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5D96B#FFFFFF#000000##000000
##F5D96B1.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)
#ECD560
Deuteranopia (green-blind)
#F3DE70
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f5d96b;
/* rgb */ color: rgb(245, 217, 107);
/* oklch */ color: oklch(88.7% 0.133 95.2);
Tailwind
colors: {
  custom: {
    50: '#fbe498',
    500: '#f5d96b',
    950: '#000000',
  },
}
SCSS
$custom: #f5d96b;
$custom-light: #fbe498;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d96b",
  "rgb": {
    "r": 245,
    "g": 217,
    "b": 107
  },
  "hsl": {
    "h": 47.826,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88723,
    "c": 0.13315,
    "h": 95.2
  },
  "luminance": 0.701
}

Semantic roles & 50–950 ramp

primary
#F5D96B
secondary
#3655CE
accent
#30E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D96B

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

Preview Lab → · Contrast checker → · Palette generator →

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