#F5ED71#F5ED71

#F5ED71 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.8% C 0.145 H 105.5°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#F5ED71
RGBrgb(245, 237, 113)
HSLhsl(56, 87%, 70%)
HSVhsv(56, 54%, 96%)
CMYKcmyk(0%, 3.3%, 53.9%, 3.9%)
CIE-LABlab(92.21, -12.91, 60.07)
CIE-LCHlch(92.21, 61.44, 102.13°)
OKLaboklab(92.84% -0.0389 0.1402)
OKLCHoklch(92.84% 0.145 105.5)
XYZxyz(70.9231, 81.1753, 27.5520)
Luminance0.8117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ED71 #7179F5
analogous
#F5AB71 #F5ED71 #BBF571
triadic
#F5ED71 #71F5ED #ED71F5
tetradic
#F5ED71 #71F5AB #7179F5 #F571BB
square
#F5ED71 #71F5AB #7179F5 #F571BB
split-complementary
#F5ED71 #71BBF5 #AB71F5
monochromatic
#DCD010 #F1E638 #F5ED71 #F9F4AA #FDFBE2

Accessibility & contrast

On white

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

On black

17.23
#F5ED71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ED71
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ED71#FFFFFF#000000##000000
##F5ED711.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE565
Deuteranopia (green-blind)
#FFEB77
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5ed71;
/* rgb */ color: rgb(245, 237, 113);
/* oklch */ color: oklch(92.8% 0.145 105.5);
Tailwind
colors: {
  custom: {
    50: '#fbf29d',
    500: '#f5ed71',
    950: '#000000',
  },
}
SCSS
$custom: #f5ed71;
$custom-light: #fbf29d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ed71",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 113
  },
  "hsl": {
    "h": 56.364,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92837,
    "c": 0.14549,
    "h": 105.5
  },
  "luminance": 0.81173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5ED71

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

Preview Lab → · Contrast checker → · Palette generator →

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