#F5EE86#F5EE86

#F5EE86 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.3% C 0.126 H 105.2°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#F5EE86
RGBrgb(245, 238, 134)
HSLhsl(56, 85%, 74%)
HSVhsv(56, 45%, 96%)
CMYKcmyk(0%, 2.9%, 45.3%, 3.9%)
CIE-LABlab(92.70, -11.62, 50.92)
CIE-LCHlch(92.70, 52.23, 102.85°)
OKLaboklab(93.3% -0.0331 0.122)
OKLCHoklch(93.3% 0.126 105.2)
XYZxyz(72.5354, 82.2848, 34.6112)
Luminance0.8228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EE86 #868DF5
analogous
#F5B786 #F5EE86 #C5F586
triadic
#F5EE86 #86F5EE #EE86F5
tetradic
#F5EE86 #86F5B7 #868DF5 #F586C5
square
#F5EE86 #86F5B7 #868DF5 #F586C5
split-complementary
#F5EE86 #86C5F5 #B786F5
monochromatic
#ECDE15 #F0E64D #F5EE86 #FAF6BF #FDFBE3

Accessibility & contrast

On white

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

On black

17.46
#F5EE86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EE86
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EE86#FFFFFF#000000##000000
##F5EE861.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE77D
Deuteranopia (green-blind)
#FFEC8B
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ee86;
/* rgb */ color: rgb(245, 238, 134);
/* oklch */ color: oklch(93.3% 0.126 105.2);
Tailwind
colors: {
  custom: {
    50: '#faf3ab',
    500: '#f5ee86',
    950: '#000000',
  },
}
SCSS
$custom: #f5ee86;
$custom-light: #faf3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ee86",
  "rgb": {
    "r": 245,
    "g": 238,
    "b": 134
  },
  "hsl": {
    "h": 56.216,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.93303,
    "c": 0.12643,
    "h": 105.2
  },
  "luminance": 0.82283
}

Semantic roles & 50–950 ramp

primary
#F5EE86
secondary
#4E56D2
accent
#12E104
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5EE86

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

Preview Lab → · Contrast checker → · Palette generator →

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