#F5EF89#F5EF89

#F5EF89 is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.5% C 0.124 H 105.6°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#F5EF89
RGBrgb(245, 239, 137)
HSLhsl(57, 84%, 75%)
HSVhsv(57, 44%, 96%)
CMYKcmyk(0%, 2.4%, 44.1%, 3.9%)
CIE-LABlab(92.99, -11.83, 49.85)
CIE-LCHlch(92.99, 51.23, 103.35°)
OKLaboklab(93.55% -0.0334 0.1198)
OKLCHoklch(93.55% 0.124 105.6)
XYZxyz(73.0396, 82.9535, 35.8262)
Luminance0.8295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF89 #898FF5
analogous
#F5B989 #F5EF89 #C5F589
triadic
#F5EF89 #89F5EF #EF89F5
tetradic
#F5EF89 #89F5B9 #898FF5 #F589C5
square
#F5EF89 #89F5B9 #898FF5 #F589C5
split-complementary
#F5EF89 #89C5F5 #B989F5
monochromatic
#EBE018 #F0E751 #F5EF89 #FAF7C1 #FDFBE3

Accessibility & contrast

On white

1.19
#F5EF89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.59
#F5EF89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF89
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF89#FFFFFF#000000##000000
##F5EF891.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE881
Deuteranopia (green-blind)
#FFED8E
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5ef89;
/* rgb */ color: rgb(245, 239, 137);
/* oklch */ color: oklch(93.5% 0.124 105.6);
Tailwind
colors: {
  custom: {
    50: '#faf4ad',
    500: '#f5ef89',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef89;
$custom-light: #faf4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef89",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 137
  },
  "hsl": {
    "h": 56.667,
    "s": 84.375,
    "l": 74.902
  },
  "oklch": {
    "l": 0.93549,
    "c": 0.1244,
    "h": 105.6
  },
  "luminance": 0.82952
}

Semantic roles & 50–950 ramp

primary
#F5EF89
secondary
#5057D2
accent
#11E105
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5EF89

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

Preview Lab → · Contrast checker → · Palette generator →

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