#F5EF53#F5EF53

#F5EF53 is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 93.0% C 0.171 H 107.1°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#F5EF53
RGBrgb(245, 239, 83)
HSLhsl(58, 89%, 64%)
HSVhsv(58, 66%, 96%)
CMYKcmyk(0%, 2.4%, 66.1%, 3.9%)
CIE-LABlab(92.47, -15.84, 72.82)
CIE-LCHlch(92.47, 74.52, 102.27°)
OKLaboklab(92.97% -0.0504 0.1633)
OKLCHoklch(92.97% 0.171 107.1)
XYZxyz(70.0866, 81.7723, 20.2737)
Luminance0.8177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF53 #5359F5
analogous
#F59E53 #F5EF53 #AAF553
triadic
#F5EF53 #53F5EF #EF53F5
tetradic
#F5EF53 #53F59E #5359F5 #F553AA
square
#F5EF53 #53F59E #5359F5 #F553AA
split-complementary
#F5EF53 #53AAF5 #9E53F5
monochromatic
#C2BC0B #F2EA19 #F5EF53 #F8F48D #FCFAC7

Accessibility & contrast

On white

1.21
#F5EF53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#F5EF53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF53
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF53#FFFFFF#000000##000000
##F5EF531.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE63C
Deuteranopia (green-blind)
#FFEC5D
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5ef53;
/* rgb */ color: rgb(245, 239, 83);
/* oklch */ color: oklch(93.0% 0.171 107.1);
Tailwind
colors: {
  custom: {
    50: '#fcf48b',
    500: '#f5ef53',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef53;
$custom-light: #fcf48b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef53",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 83
  },
  "hsl": {
    "h": 57.778,
    "s": 89.011,
    "l": 64.314
  },
  "oklch": {
    "l": 0.92967,
    "c": 0.17093,
    "h": 107.1
  },
  "luminance": 0.8177
}

Semantic roles & 50–950 ramp

primary
#F5EF53
secondary
#2D32C0
accent
#08E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5EF53

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

Preview Lab → · Contrast checker → · Palette generator →

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