#F5D96A#F5D96A

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

Color values

HEX#F5D96A
RGBrgb(245, 217, 106)
HSLhsl(48, 87%, 69%)
HSVhsv(48, 57%, 96%)
CMYKcmyk(0%, 11.4%, 56.7%, 3.9%)
CIE-LABlab(87.04, -3.44, 57.29)
CIE-LCHlch(87.04, 57.39, 93.44°)
OKLaboklab(88.71% -0.0125 0.1335)
OKLCHoklch(88.71% 0.134 95.4)
XYZxyz(65.0732, 70.0818, 23.7324)
Luminance0.7008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D96A #6A86F5
analogous
#F5946A #F5D96A #CBF56A
triadic
#F5D96A #6AF5D9 #D96AF5
tetradic
#F5D96A #6AF594 #6A86F5 #F56ACB
square
#F5D96A #6AF594 #6A86F5 #F56ACB
split-complementary
#F5D96A #6ACBF5 #946AF5
monochromatic
#D6AE0E #F1CA31 #F5D96A #F9E8A3 #FDF6DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5D96A#FFFFFF#000000##000000
##F5D96A1.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)
#ECD55F
Deuteranopia (green-blind)
#F3DE6F
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f5d96a;
/* rgb */ color: rgb(245, 217, 106);
/* oklch */ color: oklch(88.7% 0.134 95.4);
Tailwind
colors: {
  custom: {
    50: '#fbe498',
    500: '#f5d96a',
    950: '#000000',
  },
}
SCSS
$custom: #f5d96a;
$custom-light: #fbe498;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d96a",
  "rgb": {
    "r": 245,
    "g": 217,
    "b": 106
  },
  "hsl": {
    "h": 47.914,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88712,
    "c": 0.13404,
    "h": 95.4
  },
  "luminance": 0.70079
}

Semantic roles & 50–950 ramp

primary
#F5D96A
secondary
#3554CE
accent
#2FE402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D96A

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

Preview Lab → · Contrast checker → · Palette generator →

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