#F5ED73#F5ED73

#F5ED73 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.9% C 0.144 H 105.4°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#F5ED73
RGBrgb(245, 237, 115)
HSLhsl(56, 87%, 71%)
HSVhsv(56, 53%, 96%)
CMYKcmyk(0%, 3.3%, 53.1%, 3.9%)
CIE-LABlab(92.23, -12.76, 59.19)
CIE-LCHlch(92.23, 60.55, 102.16°)
OKLaboklab(92.86% -0.0383 0.1385)
OKLCHoklch(92.86% 0.144 105.4)
XYZxyz(71.0369, 81.2208, 28.1515)
Luminance0.8122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ED73 #737BF5
analogous
#F5AC73 #F5ED73 #BCF573
triadic
#F5ED73 #73F5ED #ED73F5
tetradic
#F5ED73 #73F5AC #737BF5 #F573BC
square
#F5ED73 #73F5AC #737BF5 #F573BC
split-complementary
#F5ED73 #73BCF5 #AC73F5
monochromatic
#DED110 #F1E63A #F5ED73 #F9F4AC #FDFBE2

Accessibility & contrast

On white

1.22
#F5ED73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#F5ED73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ED73
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ED73#FFFFFF#000000##000000
##F5ED731.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE667
Deuteranopia (green-blind)
#FFEB79
Tritanopia (blue-blind)
#FFE0D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5ed73;
/* rgb */ color: rgb(245, 237, 115);
/* oklch */ color: oklch(92.9% 0.144 105.4);
Tailwind
colors: {
  custom: {
    50: '#fbf29f',
    500: '#f5ed73',
    950: '#000000',
  },
}
SCSS
$custom: #f5ed73;
$custom-light: #fbf29f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ed73",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 115
  },
  "hsl": {
    "h": 56.308,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9286,
    "c": 0.14369,
    "h": 105.4
  },
  "luminance": 0.81219
}

Semantic roles & 50–950 ramp

primary
#F5ED73
secondary
#3D46CF
accent
#10E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F5ED73

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

Preview Lab → · Contrast checker → · Palette generator →

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