#F5E573#F5E573

#F5E573 is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.2% C 0.136 H 101.4°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#F5E573
RGBrgb(245, 229, 115)
HSLhsl(53, 87%, 71%)
HSVhsv(53, 53%, 96%)
CMYKcmyk(0%, 6.5%, 53.1%, 3.9%)
CIE-LABlab(90.18, -8.79, 56.81)
CIE-LCHlch(90.18, 57.48, 98.80°)
OKLaboklab(91.23% -0.0269 0.1333)
OKLCHoklch(91.23% 0.136 101.4)
XYZxyz(68.7722, 76.6914, 27.3966)
Luminance0.7669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E573 #7383F5
analogous
#F5A473 #F5E573 #C4F573
triadic
#F5E573 #73F5E5 #E573F5
tetradic
#F5E573 #73F5A4 #7383F5 #F573C4
square
#F5E573 #73F5A4 #7383F5 #F573C4
split-complementary
#F5E573 #73C4F5 #A473F5
monochromatic
#DEC410 #F1DA3A #F5E573 #F9F0AC #FDFAE2

Accessibility & contrast

On white

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

On black

16.34
#F5E573 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E573
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E573#FFFFFF#000000##000000
##F5E5731.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF68
Deuteranopia (green-blind)
#FCE678
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e573;
/* rgb */ color: rgb(245, 229, 115);
/* oklch */ color: oklch(91.2% 0.136 101.4);
Tailwind
colors: {
  custom: {
    50: '#fbed9e',
    500: '#f5e573',
    950: '#000000',
  },
}
SCSS
$custom: #f5e573;
$custom-light: #fbed9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e573",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 115
  },
  "hsl": {
    "h": 52.615,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91231,
    "c": 0.13603,
    "h": 101.4
  },
  "luminance": 0.76689
}

Semantic roles & 50–950 ramp

primary
#F5E573
secondary
#3D4FCF
accent
#1EE302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E573

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

Preview Lab → · Contrast checker → · Palette generator →

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