#F5EA87#F5EA87

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

Color values

HEX#F5EA87
RGBrgb(245, 234, 135)
HSLhsl(54, 85%, 75%)
HSVhsv(54, 45%, 96%)
CMYKcmyk(0%, 4.5%, 44.9%, 3.9%)
CIE-LABlab(91.69, -9.54, 49.20)
CIE-LCHlch(91.69, 50.11, 100.97°)
OKLaboklab(92.5% -0.0271 0.1182)
OKLCHoklch(92.5% 0.121 102.9)
XYZxyz(71.4539, 80.0095, 34.5964)
Luminance0.8001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA87 #8792F5
analogous
#F5B387 #F5EA87 #C9F587
triadic
#F5EA87 #87F5EA #EA87F5
tetradic
#F5EA87 #87F5B3 #8792F5 #F587C9
square
#F5EA87 #87F5B3 #8792F5 #F587C9
split-complementary
#F5EA87 #87C9F5 #B387F5
monochromatic
#ECD616 #F0E04F #F5EA87 #FAF4BF #FDFAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5EA87#FFFFFF#000000##000000
##F5EA871.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)
#FAE47F
Deuteranopia (green-blind)
#FEEA8B
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f5ea87;
/* rgb */ color: rgb(245, 234, 135);
/* oklch */ color: oklch(92.5% 0.121 102.9);
Tailwind
colors: {
  custom: {
    50: '#faf0ac',
    500: '#f5ea87',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea87;
$custom-light: #faf0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea87",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 135
  },
  "hsl": {
    "h": 54,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.92504,
    "c": 0.1213,
    "h": 102.9
  },
  "luminance": 0.80007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5EA87

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

Preview Lab → · Contrast checker → · Palette generator →

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