#F5E76E#F5E76E

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

Color values

HEX#F5E76E
RGBrgb(245, 231, 110)
HSLhsl(54, 87%, 70%)
HSVhsv(54, 55%, 96%)
CMYKcmyk(0%, 5.7%, 55.1%, 3.9%)
CIE-LABlab(90.64, -10.17, 59.61)
CIE-LCHlch(90.64, 60.47, 99.69°)
OKLaboklab(91.58% -0.0314 0.1389)
OKLCHoklch(91.58% 0.142 102.7)
XYZxyz(69.0488, 77.6925, 26.1078)
Luminance0.7769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E76E #6E7CF5
analogous
#F5A46E #F5E76E #BFF56E
triadic
#F5E76E #6EF5E7 #E76EF5
tetradic
#F5E76E #6EF5A4 #6E7CF5 #F56EBF
square
#F5E76E #6EF5A4 #6E7CF5 #F56EBF
split-complementary
#F5E76E #6EBFF5 #A46EF5
monochromatic
#DAC50F #F1DE35 #F5E76E #F9F0A7 #FDFAE1

Accessibility & contrast

On white

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

On black

16.54
#F5E76E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E76E
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E76E#FFFFFF#000000##000000
##F5E76E1.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e76e;
/* rgb */ color: rgb(245, 231, 110);
/* oklch */ color: oklch(91.6% 0.142 102.7);
Tailwind
colors: {
  custom: {
    50: '#fbee9b',
    500: '#f5e76e',
    950: '#000000',
  },
}
SCSS
$custom: #f5e76e;
$custom-light: #fbee9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e76e",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 110
  },
  "hsl": {
    "h": 53.778,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.9158,
    "c": 0.14239,
    "h": 102.7
  },
  "luminance": 0.7769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5E76E

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

Preview Lab → · Contrast checker → · Palette generator →

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