#F5EF71#F5EF71

#F5EF71 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.2% C 0.147 H 106.4°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#F5EF71
RGBrgb(245, 239, 113)
HSLhsl(57, 87%, 70%)
HSVhsv(57, 54%, 96%)
CMYKcmyk(0%, 2.4%, 53.9%, 3.9%)
CIE-LABlab(92.72, -13.89, 60.66)
CIE-LCHlch(92.72, 62.23, 102.90°)
OKLaboklab(93.25% -0.0417 0.1415)
OKLCHoklch(93.25% 0.147 106.4)
XYZxyz(71.5054, 82.3399, 27.7461)
Luminance0.8234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF71 #7177F5
analogous
#F5AD71 #F5EF71 #B9F571
triadic
#F5EF71 #71F5EF #EF71F5
tetradic
#F5EF71 #71F5AD #7177F5 #F571B9
square
#F5EF71 #71F5AD #7177F5 #F571B9
split-complementary
#F5EF71 #71B9F5 #AD71F5
monochromatic
#DCD310 #F1E938 #F5EF71 #F9F5AA #FDFCE2

Accessibility & contrast

On white

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

On black

17.47
#F5EF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF71
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF71#FFFFFF#000000##000000
##F5EF711.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE764
Deuteranopia (green-blind)
#FFED78
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ef71;
/* rgb */ color: rgb(245, 239, 113);
/* oklch */ color: oklch(93.2% 0.147 106.4);
Tailwind
colors: {
  custom: {
    50: '#fbf49d',
    500: '#f5ef71',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef71;
$custom-light: #fbf49d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef71",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 113
  },
  "hsl": {
    "h": 57.273,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93247,
    "c": 0.14748,
    "h": 106.4
  },
  "luminance": 0.82338
}

Semantic roles & 50–950 ramp

primary
#F5EF71
secondary
#3B42CF
accent
#0CE302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5EF71

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

Preview Lab → · Contrast checker → · Palette generator →

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