#F5E773#F5E773

#F5E773 is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.6% C 0.138 H 102.5°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#F5E773
RGBrgb(245, 231, 115)
HSLhsl(54, 87%, 71%)
HSVhsv(54, 53%, 96%)
CMYKcmyk(0%, 5.7%, 53.1%, 3.9%)
CIE-LABlab(90.69, -9.79, 57.40)
CIE-LCHlch(90.69, 58.23, 99.68°)
OKLaboklab(91.64% -0.0298 0.1346)
OKLCHoklch(91.64% 0.138 102.5)
XYZxyz(69.3288, 77.8045, 27.5822)
Luminance0.7780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E773 #7381F5
analogous
#F5A673 #F5E773 #C2F573
triadic
#F5E773 #73F5E7 #E773F5
tetradic
#F5E773 #73F5A6 #7381F5 #F573C2
square
#F5E773 #73F5A6 #7381F5 #F573C2
split-complementary
#F5E773 #73C2F5 #A673F5
monochromatic
#DEC810 #F1DD3A #F5E773 #F9F1AC #FDFAE2

Accessibility & contrast

On white

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

On black

16.56
#F5E773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E773
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E773#FFFFFF#000000##000000
##F5E7731.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e773;
/* rgb */ color: rgb(245, 231, 115);
/* oklch */ color: oklch(91.6% 0.138 102.5);
Tailwind
colors: {
  custom: {
    50: '#fbee9e',
    500: '#f5e773',
    950: '#000000',
  },
}
SCSS
$custom: #f5e773;
$custom-light: #fbee9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e773",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 115
  },
  "hsl": {
    "h": 53.538,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91637,
    "c": 0.13788,
    "h": 102.5
  },
  "luminance": 0.77802
}

Semantic roles & 50–950 ramp

primary
#F5E773
secondary
#3D4DCF
accent
#1BE302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E773

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

Preview Lab → · Contrast checker → · Palette generator →

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