#F5EF73#F5EF73

#F5EF73 is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.3% C 0.146 H 106.4°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#F5EF73
RGBrgb(245, 239, 115)
HSLhsl(57, 87%, 71%)
HSVhsv(57, 53%, 96%)
CMYKcmyk(0%, 2.4%, 53.1%, 3.9%)
CIE-LABlab(92.74, -13.74, 59.79)
CIE-LCHlch(92.74, 61.34, 102.94°)
OKLaboklab(93.27% -0.0411 0.1398)
OKLCHoklch(93.27% 0.146 106.4)
XYZxyz(71.6192, 82.3854, 28.3456)
Luminance0.8238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF73 #7379F5
analogous
#F5AE73 #F5EF73 #BAF573
triadic
#F5EF73 #73F5EF #EF73F5
tetradic
#F5EF73 #73F5AE #7379F5 #F573BA
square
#F5EF73 #73F5AE #7379F5 #F573BA
split-complementary
#F5EF73 #73BAF5 #AE73F5
monochromatic
#DED410 #F1E83A #F5EF73 #F9F6AC #FDFCE2

Accessibility & contrast

On white

1.20
#F5EF73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.48
#F5EF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF73
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF73#FFFFFF#000000##000000
##F5EF731.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE767
Deuteranopia (green-blind)
#FFED79
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ef73;
/* rgb */ color: rgb(245, 239, 115);
/* oklch */ color: oklch(93.3% 0.146 106.4);
Tailwind
colors: {
  custom: {
    50: '#fbf49f',
    500: '#f5ef73',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef73;
$custom-light: #fbf49f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef73",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 115
  },
  "hsl": {
    "h": 57.231,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9327,
    "c": 0.1457,
    "h": 106.4
  },
  "luminance": 0.82383
}

Semantic roles & 50–950 ramp

primary
#F5EF73
secondary
#3D44CF
accent
#0DE302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5EF73

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

Preview Lab → · Contrast checker → · Palette generator →

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