#F5ED86#F5ED86

#F5ED86 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 93.1% C 0.125 H 104.6°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#F5ED86
RGBrgb(245, 237, 134)
HSLhsl(56, 85%, 74%)
HSVhsv(56, 45%, 96%)
CMYKcmyk(0%, 3.3%, 45.3%, 3.9%)
CIE-LABlab(92.44, -11.12, 50.61)
CIE-LCHlch(92.44, 51.81, 102.39°)
OKLaboklab(93.1% -0.0317 0.1213)
OKLCHoklch(93.1% 0.125 104.6)
XYZxyz(72.2451, 81.7041, 34.5144)
Luminance0.8170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ED86 #868EF5
analogous
#F5B686 #F5ED86 #C6F586
triadic
#F5ED86 #86F5ED #ED86F5
tetradic
#F5ED86 #86F5B6 #868EF5 #F586C6
square
#F5ED86 #86F5B6 #868EF5 #F586C6
split-complementary
#F5ED86 #86C6F5 #B686F5
monochromatic
#ECDC15 #F0E54D #F5ED86 #FAF5BF #FDFBE3

Accessibility & contrast

On white

1.21
#F5ED86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#F5ED86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ED86
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ED86#FFFFFF#000000##000000
##F5ED861.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE67D
Deuteranopia (green-blind)
#FFEC8B
Tritanopia (blue-blind)
#FFE1D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5ed86;
/* rgb */ color: rgb(245, 237, 134);
/* oklch */ color: oklch(93.1% 0.125 104.6);
Tailwind
colors: {
  custom: {
    50: '#faf2ab',
    500: '#f5ed86',
    950: '#000000',
  },
}
SCSS
$custom: #f5ed86;
$custom-light: #faf2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ed86",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 134
  },
  "hsl": {
    "h": 55.676,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.931,
    "c": 0.12538,
    "h": 104.6
  },
  "luminance": 0.81702
}

Semantic roles & 50–950 ramp

primary
#F5ED86
secondary
#4E57D2
accent
#14E104
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F5ED86

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

Preview Lab → · Contrast checker → · Palette generator →

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