#F5E96C#F5E96C

#F5E96C is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 92.0% C 0.146 H 103.8°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#F5E96C
RGBrgb(245, 233, 108)
HSLhsl(55, 87%, 69%)
HSVhsv(55, 56%, 96%)
CMYKcmyk(0%, 4.9%, 55.9%, 3.9%)
CIE-LABlab(91.13, -11.31, 61.07)
CIE-LCHlch(91.13, 62.10, 100.50°)
OKLaboklab(91.97% -0.0349 0.1418)
OKLCHoklch(91.97% 0.146 103.8)
XYZxyz(69.5041, 78.7754, 25.7284)
Luminance0.7877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E96C #6C78F5
analogous
#F5A56C #F5E96C #BCF56C
triadic
#F5E96C #6CF5E9 #E96CF5
tetradic
#F5E96C #6CF5A5 #6C78F5 #F56CBC
square
#F5E96C #6CF5A5 #6C78F5 #F56CBC
split-complementary
#F5E96C #6CBCF5 #A56CF5
monochromatic
#D8C60F #F1E033 #F5E96C #F9F2A5 #FDFADF

Accessibility & contrast

On white

1.25
#F5E96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#F5E96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E96C
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E96C#FFFFFF#000000##000000
##F5E96C1.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE25F
Deuteranopia (green-blind)
#FFE872
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f5e96c;
/* rgb */ color: rgb(245, 233, 108);
/* oklch */ color: oklch(92.0% 0.146 103.8);
Tailwind
colors: {
  custom: {
    50: '#fbef9a',
    500: '#f5e96c',
    950: '#000000',
  },
}
SCSS
$custom: #f5e96c;
$custom-light: #fbef9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e96c",
  "rgb": {
    "r": 245,
    "g": 233,
    "b": 108
  },
  "hsl": {
    "h": 54.745,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.91965,
    "c": 0.14602,
    "h": 103.8
  },
  "luminance": 0.78773
}

Semantic roles & 50–950 ramp

primary
#F5E96C
secondary
#3744CF
accent
#15E402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5E96C

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

Preview Lab → · Contrast checker → · Palette generator →

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