#F5EB71#F5EB71

#F5EB71 is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.4% C 0.144 H 104.6°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#F5EB71
RGBrgb(245, 235, 113)
HSLhsl(55, 87%, 70%)
HSVhsv(55, 54%, 96%)
CMYKcmyk(0%, 4.1%, 53.9%, 3.9%)
CIE-LABlab(91.70, -11.93, 59.48)
CIE-LCHlch(91.70, 60.66, 101.34°)
OKLaboklab(92.43% -0.0361 0.1389)
OKLCHoklch(92.43% 0.144 104.6)
XYZxyz(70.3473, 80.0237, 27.3601)
Luminance0.8002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EB71 #717BF5
analogous
#F5A971 #F5EB71 #BDF571
triadic
#F5EB71 #71F5EB #EB71F5
tetradic
#F5EB71 #71F5A9 #717BF5 #F571BD
square
#F5EB71 #71F5A9 #717BF5 #F571BD
split-complementary
#F5EB71 #71BDF5 #A971F5
monochromatic
#DCCD10 #F1E338 #F5EB71 #F9F3AA #FDFBE2

Accessibility & contrast

On white

1.23
#F5EB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#F5EB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EB71
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EB71#FFFFFF#000000##000000
##F5EB711.001.2317.0017.00
#FFFFFF1.231.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE465
Deuteranopia (green-blind)
#FFEA77
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f5eb71;
/* rgb */ color: rgb(245, 235, 113);
/* oklch */ color: oklch(92.4% 0.144 104.6);
Tailwind
colors: {
  custom: {
    50: '#fbf19d',
    500: '#f5eb71',
    950: '#000000',
  },
}
SCSS
$custom: #f5eb71;
$custom-light: #fbf19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5eb71",
  "rgb": {
    "r": 245,
    "g": 235,
    "b": 113
  },
  "hsl": {
    "h": 55.455,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92429,
    "c": 0.14352,
    "h": 104.6
  },
  "luminance": 0.80021
}

Semantic roles & 50–950 ramp

primary
#F5EB71
secondary
#3B46CF
accent
#13E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F5EB71

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

Preview Lab → · Contrast checker → · Palette generator →

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