#F5EF74#F5EF74

#F5EF74 is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.3% C 0.145 H 106.3°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#F5EF74
RGBrgb(245, 239, 116)
HSLhsl(57, 87%, 71%)
HSVhsv(57, 53%, 96%)
CMYKcmyk(0%, 2.4%, 52.7%, 3.9%)
CIE-LABlab(92.75, -13.66, 59.35)
CIE-LCHlch(92.75, 60.90, 102.96°)
OKLaboklab(93.28% -0.0407 0.1389)
OKLCHoklch(93.28% 0.145 106.3)
XYZxyz(71.6771, 82.4085, 28.6503)
Luminance0.8241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF74 #747AF5
analogous
#F5AE74 #F5EF74 #BAF574
triadic
#F5EF74 #74F5EF #EF74F5
tetradic
#F5EF74 #74F5AE #747AF5 #F574BA
square
#F5EF74 #74F5AE #747AF5 #F574BA
split-complementary
#F5EF74 #74BAF5 #AE74F5
monochromatic
#DFD510 #F1E83B #F5EF74 #F9F6AD #FDFCE2

Accessibility & contrast

On white

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

On black

17.48
#F5EF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF74
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF74#FFFFFF#000000##000000
##F5EF741.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE768
Deuteranopia (green-blind)
#FFED7A
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ef74;
/* rgb */ color: rgb(245, 239, 116);
/* oklch */ color: oklch(93.3% 0.145 106.3);
Tailwind
colors: {
  custom: {
    50: '#fbf49f',
    500: '#f5ef74',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef74;
$custom-light: #fbf49f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef74",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 116
  },
  "hsl": {
    "h": 57.209,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93281,
    "c": 0.14479,
    "h": 106.3
  },
  "luminance": 0.82406
}

Semantic roles & 50–950 ramp

primary
#F5EF74
secondary
#3E44D0
accent
#0DE302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5EF74

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

Preview Lab → · Contrast checker → · Palette generator →

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