#F5EC89#F5EC89

#F5EC89 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.9% C 0.121 H 103.9°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#F5EC89
RGBrgb(245, 236, 137)
HSLhsl(55, 84%, 75%)
HSVhsv(55, 44%, 96%)
CMYKcmyk(0%, 3.7%, 44.1%, 3.9%)
CIE-LABlab(92.23, -10.34, 48.90)
CIE-LCHlch(92.23, 49.98, 101.94°)
OKLaboklab(92.94% -0.0292 0.1177)
OKLCHoklch(92.94% 0.121 103.9)
XYZxyz(72.1686, 81.2115, 35.5358)
Luminance0.8121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EC89 #8992F5
analogous
#F5B689 #F5EC89 #C8F589
triadic
#F5EC89 #89F5EC #EC89F5
tetradic
#F5EC89 #89F5B6 #8992F5 #F589C8
square
#F5EC89 #89F5B6 #8992F5 #F589C8
split-complementary
#F5EC89 #89C8F5 #B689F5
monochromatic
#EBDA18 #F0E351 #F5EC89 #FAF5C1 #FDFAE3

Accessibility & contrast

On white

1.22
#F5EC89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#F5EC89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EC89
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EC89#FFFFFF#000000##000000
##F5EC891.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE681
Deuteranopia (green-blind)
#FFEB8D
Tritanopia (blue-blind)
#FFE0D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5ec89;
/* rgb */ color: rgb(245, 236, 137);
/* oklch */ color: oklch(92.9% 0.121 103.9);
Tailwind
colors: {
  custom: {
    50: '#faf2ad',
    500: '#f5ec89',
    950: '#000000',
  },
}
SCSS
$custom: #f5ec89;
$custom-light: #faf2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ec89",
  "rgb": {
    "r": 245,
    "g": 236,
    "b": 137
  },
  "hsl": {
    "h": 55,
    "s": 84.375,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92938,
    "c": 0.12127,
    "h": 103.9
  },
  "luminance": 0.8121
}

Semantic roles & 50–950 ramp

primary
#F5EC89
secondary
#505BD2
accent
#17E105
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F5EC89

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

Preview Lab → · Contrast checker → · Palette generator →

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