#F5E373#F5E373

#F5E373 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.8% C 0.134 H 100.3°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#F5E373
RGBrgb(245, 227, 115)
HSLhsl(52, 87%, 71%)
HSVhsv(52, 53%, 96%)
CMYKcmyk(0%, 7.3%, 53.1%, 3.9%)
CIE-LABlab(89.67, -7.79, 56.21)
CIE-LCHlch(89.67, 56.75, 97.89°)
OKLaboklab(90.83% -0.024 0.132)
OKLCHoklch(90.83% 0.134 100.3)
XYZxyz(68.2220, 75.5910, 27.2132)
Luminance0.7559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E373 #7385F5
analogous
#F5A273 #F5E373 #C6F573
triadic
#F5E373 #73F5E3 #E373F5
tetradic
#F5E373 #73F5A2 #7385F5 #F573C6
square
#F5E373 #73F5A2 #7385F5 #F573C6
split-complementary
#F5E373 #73C6F5 #A273F5
monochromatic
#DEC110 #F1D83A #F5E373 #F9EEAC #FDF9E2

Accessibility & contrast

On white

1.30
#F5E373 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.12
#F5E373 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E373
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E373#FFFFFF#000000##000000
##F5E3731.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD69
Deuteranopia (green-blind)
#FAE578
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e373;
/* rgb */ color: rgb(245, 227, 115);
/* oklch */ color: oklch(90.8% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#fbeb9e',
    500: '#f5e373',
    950: '#000000',
  },
}
SCSS
$custom: #f5e373;
$custom-light: #fbeb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e373",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 115
  },
  "hsl": {
    "h": 51.692,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90827,
    "c": 0.13421,
    "h": 100.3
  },
  "luminance": 0.75588
}

Semantic roles & 50–950 ramp

primary
#F5E373
secondary
#3D51CF
accent
#21E302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E373

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

Preview Lab → · Contrast checker → · Palette generator →

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