#F5EA86#F5EA86

#F5EA86 is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.5% C 0.122 H 103.0°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#F5EA86
RGBrgb(245, 234, 134)
HSLhsl(54, 85%, 74%)
HSVhsv(54, 45%, 96%)
CMYKcmyk(0%, 4.5%, 45.3%, 3.9%)
CIE-LABlab(91.68, -9.63, 49.66)
CIE-LCHlch(91.68, 50.59, 100.98°)
OKLaboklab(92.49% -0.0274 0.1192)
OKLCHoklch(92.49% 0.122 103)
XYZxyz(71.3838, 79.9815, 34.2273)
Luminance0.7998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA86 #8691F5
analogous
#F5B386 #F5EA86 #C9F586
triadic
#F5EA86 #86F5EA #EA86F5
tetradic
#F5EA86 #86F5B3 #8691F5 #F586C9
square
#F5EA86 #86F5B3 #8691F5 #F586C9
split-complementary
#F5EA86 #86C9F5 #B386F5
monochromatic
#ECD615 #F0E04D #F5EA86 #FAF4BF #FDFAE3

Accessibility & contrast

On white

1.24
#F5EA86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#F5EA86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA86
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA86#FFFFFF#000000##000000
##F5EA861.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE47E
Deuteranopia (green-blind)
#FEEA8A
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f5ea86;
/* rgb */ color: rgb(245, 234, 134);
/* oklch */ color: oklch(92.5% 0.122 103.0);
Tailwind
colors: {
  custom: {
    50: '#faf0ab',
    500: '#f5ea86',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea86;
$custom-light: #faf0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea86",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 134
  },
  "hsl": {
    "h": 54.054,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.9249,
    "c": 0.12232,
    "h": 103
  },
  "luminance": 0.79979
}

Semantic roles & 50–950 ramp

primary
#F5EA86
secondary
#4E5BD2
accent
#1AE104
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F5EA86

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

Preview Lab → · Contrast checker → · Palette generator →

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