#F5E473#F5E473

#F5E473 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 91.0% C 0.135 H 100.9°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#F5E473
RGBrgb(245, 228, 115)
HSLhsl(52, 87%, 71%)
HSVhsv(52, 53%, 96%)
CMYKcmyk(0%, 6.9%, 53.1%, 3.9%)
CIE-LABlab(89.92, -8.29, 56.51)
CIE-LCHlch(89.92, 57.11, 98.35°)
OKLaboklab(91.03% -0.0255 0.1327)
OKLCHoklch(91.03% 0.135 100.9)
XYZxyz(68.4963, 76.1396, 27.3047)
Luminance0.7614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E473 #7384F5
analogous
#F5A373 #F5E473 #C5F573
triadic
#F5E473 #73F5E4 #E473F5
tetradic
#F5E473 #73F5A3 #7384F5 #F573C5
square
#F5E473 #73F5A3 #7384F5 #F573C5
split-complementary
#F5E473 #73C5F5 #A373F5
monochromatic
#DEC310 #F1D93A #F5E473 #F9EFAC #FDF9E2

Accessibility & contrast

On white

1.29
#F5E473 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#F5E473 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E473
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E473#FFFFFF#000000##000000
##F5E4731.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE68
Deuteranopia (green-blind)
#FBE578
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e473;
/* rgb */ color: rgb(245, 228, 115);
/* oklch */ color: oklch(91.0% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#fbec9e',
    500: '#f5e473',
    950: '#000000',
  },
}
SCSS
$custom: #f5e473;
$custom-light: #fbec9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e473",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 115
  },
  "hsl": {
    "h": 52.154,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91029,
    "c": 0.13511,
    "h": 100.9
  },
  "luminance": 0.76137
}

Semantic roles & 50–950 ramp

primary
#F5E473
secondary
#3D50CF
accent
#20E302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E473

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

Preview Lab → · Contrast checker → · Palette generator →

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