#F5EA71#F5EA71

#F5EA71 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.2% C 0.143 H 104.1°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#F5EA71
RGBrgb(245, 234, 113)
HSLhsl(55, 87%, 70%)
HSVhsv(55, 54%, 96%)
CMYKcmyk(0%, 4.5%, 53.9%, 3.9%)
CIE-LABlab(91.44, -11.43, 59.18)
CIE-LCHlch(91.44, 60.27, 100.93°)
OKLaboklab(92.23% -0.0347 0.1383)
OKLCHoklch(92.23% 0.143 104.1)
XYZxyz(70.0618, 79.4527, 27.2649)
Luminance0.7945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA71 #717CF5
analogous
#F5A871 #F5EA71 #BEF571
triadic
#F5EA71 #71F5EA #EA71F5
tetradic
#F5EA71 #71F5A8 #717CF5 #F571BE
square
#F5EA71 #71F5A8 #717CF5 #F571BE
split-complementary
#F5EA71 #71BEF5 #A871F5
monochromatic
#DCCB10 #F1E238 #F5EA71 #F9F2AA #FDFBE2

Accessibility & contrast

On white

1.24
#F5EA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.89
#F5EA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA71
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA71#FFFFFF#000000##000000
##F5EA711.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE365
Deuteranopia (green-blind)
#FFE977
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f5ea71;
/* rgb */ color: rgb(245, 234, 113);
/* oklch */ color: oklch(92.2% 0.143 104.1);
Tailwind
colors: {
  custom: {
    50: '#fbf09d',
    500: '#f5ea71',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea71;
$custom-light: #fbf09d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea71",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 113
  },
  "hsl": {
    "h": 55,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92225,
    "c": 0.14256,
    "h": 104.1
  },
  "luminance": 0.7945
}

Semantic roles & 50–950 ramp

primary
#F5EA71
secondary
#3B47CF
accent
#15E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F5EA71

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

Preview Lab → · Contrast checker → · Palette generator →

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