#F5E76D#F5E76D

#F5E76D is a very light, vivid yellow. Relative luminance 0.777; OKLCH L 91.6% C 0.143 H 102.8°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#F5E76D
RGBrgb(245, 231, 109)
HSLhsl(54, 87%, 69%)
HSVhsv(54, 56%, 96%)
CMYKcmyk(0%, 5.7%, 55.5%, 3.9%)
CIE-LABlab(90.63, -10.25, 60.05)
CIE-LCHlch(90.63, 60.92, 99.69°)
OKLaboklab(91.57% -0.0317 0.1397)
OKLCHoklch(91.57% 0.143 102.8)
XYZxyz(68.9947, 77.6709, 25.8227)
Luminance0.7767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E76D #6D7BF5
analogous
#F5A36D #F5E76D #BFF56D
triadic
#F5E76D #6DF5E7 #E76DF5
tetradic
#F5E76D #6DF5A3 #6D7BF5 #F56DBF
square
#F5E76D #6DF5A3 #6D7BF5 #F56DBF
split-complementary
#F5E76D #6DBFF5 #A36DF5
monochromatic
#D9C40F #F1DE34 #F5E76D #F9F0A6 #FDFAE0

Accessibility & contrast

On white

1.27
#F5E76D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#F5E76D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E76D
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E76D#FFFFFF#000000##000000
##F5E76D1.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E061
Deuteranopia (green-blind)
#FEE773
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e76d;
/* rgb */ color: rgb(245, 231, 109);
/* oklch */ color: oklch(91.6% 0.143 102.8);
Tailwind
colors: {
  custom: {
    50: '#fbee9a',
    500: '#f5e76d',
    950: '#000000',
  },
}
SCSS
$custom: #f5e76d;
$custom-light: #fbee9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e76d",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 109
  },
  "hsl": {
    "h": 53.824,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91569,
    "c": 0.14328,
    "h": 102.8
  },
  "luminance": 0.77668
}

Semantic roles & 50–950 ramp

primary
#F5E76D
secondary
#3747CF
accent
#19E402
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E76D

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

Preview Lab → · Contrast checker → · Palette generator →

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