#F5E776#F5E776

#F5E776 is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.7% C 0.135 H 102.3°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#F5E776
RGBrgb(245, 231, 118)
HSLhsl(53, 86%, 71%)
HSVhsv(53, 52%, 96%)
CMYKcmyk(0%, 5.7%, 51.8%, 3.9%)
CIE-LABlab(90.72, -9.55, 56.06)
CIE-LCHlch(90.72, 56.87, 99.66°)
OKLaboklab(91.67% -0.0288 0.132)
OKLCHoklch(91.67% 0.135 102.3)
XYZxyz(69.5042, 77.8747, 28.5062)
Luminance0.7787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E776 #7684F5
analogous
#F5A776 #F5E776 #C3F576
triadic
#F5E776 #76F5E7 #E776F5
tetradic
#F5E776 #76F5A7 #7684F5 #F576C3
square
#F5E776 #76F5A7 #7684F5 #F576C3
split-complementary
#F5E776 #76C3F5 #A776F5
monochromatic
#E0C910 #F1DD3D #F5E776 #F9F1AF #FDFAE2

Accessibility & contrast

On white

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

On black

16.57
#F5E776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E776
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E776#FFFFFF#000000##000000
##F5E7761.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E16C
Deuteranopia (green-blind)
#FDE77B
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e776;
/* rgb */ color: rgb(245, 231, 118);
/* oklch */ color: oklch(91.7% 0.135 102.3);
Tailwind
colors: {
  custom: {
    50: '#fbeea0',
    500: '#f5e776',
    950: '#000000',
  },
}
SCSS
$custom: #f5e776;
$custom-light: #fbeea0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e776",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 118
  },
  "hsl": {
    "h": 53.386,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91673,
    "c": 0.13511,
    "h": 102.3
  },
  "luminance": 0.77872
}

Semantic roles & 50–950 ramp

primary
#F5E776
secondary
#3F4FD0
accent
#1BE303
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E776

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

Preview Lab → · Contrast checker → · Palette generator →

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