#F5EF86#F5EF86

#F5EF86 is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.5% C 0.127 H 105.7°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#F5EF86
RGBrgb(245, 239, 134)
HSLhsl(57, 85%, 74%)
HSVhsv(57, 45%, 96%)
CMYKcmyk(0%, 2.4%, 45.3%, 3.9%)
CIE-LABlab(92.96, -12.11, 51.23)
CIE-LCHlch(92.96, 52.65, 103.30°)
OKLaboklab(93.51% -0.0345 0.1227)
OKLCHoklch(93.51% 0.127 105.7)
XYZxyz(72.8274, 82.8686, 34.7085)
Luminance0.8287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF86 #868CF5
analogous
#F5B886 #F5EF86 #C4F586
triadic
#F5EF86 #86F5EF #EF86F5
tetradic
#F5EF86 #86F5B8 #868CF5 #F586C4
square
#F5EF86 #86F5B8 #868CF5 #F586C4
split-complementary
#F5EF86 #86C4F5 #B886F5
monochromatic
#ECE015 #F0E84D #F5EF86 #FAF6BF #FDFBE3

Accessibility & contrast

On white

1.19
#F5EF86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.57
#F5EF86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF86
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF86#FFFFFF#000000##000000
##F5EF861.001.1917.5717.57
#FFFFFF1.191.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE87D
Deuteranopia (green-blind)
#FFED8B
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5ef86;
/* rgb */ color: rgb(245, 239, 134);
/* oklch */ color: oklch(93.5% 0.127 105.7);
Tailwind
colors: {
  custom: {
    50: '#faf4ab',
    500: '#f5ef86',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef86;
$custom-light: #faf4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef86",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 134
  },
  "hsl": {
    "h": 56.757,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.93507,
    "c": 0.12748,
    "h": 105.7
  },
  "luminance": 0.82867
}

Semantic roles & 50–950 ramp

primary
#F5EF86
secondary
#4E55D2
accent
#10E104
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5EF86

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

Preview Lab → · Contrast checker → · Palette generator →

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