#F5EB89#F5EB89

#F5EB89 is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.7% C 0.120 H 103.3°. Best body text is #000000 at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#F5EB89
RGBrgb(245, 235, 137)
HSLhsl(54, 84%, 75%)
HSVhsv(54, 44%, 96%)
CMYKcmyk(0%, 4.1%, 44.1%, 3.9%)
CIE-LABlab(91.97, -9.85, 48.58)
CIE-LCHlch(91.97, 49.57, 101.46°)
OKLaboklab(92.74% -0.0278 0.117)
OKLCHoklch(92.74% 0.12 103.3)
XYZxyz(71.8815, 80.6373, 35.4401)
Luminance0.8064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EB89 #8993F5
analogous
#F5B589 #F5EB89 #C9F589
triadic
#F5EB89 #89F5EB #EB89F5
tetradic
#F5EB89 #89F5B5 #8993F5 #F589C9
square
#F5EB89 #89F5B5 #8993F5 #F589C9
split-complementary
#F5EB89 #89C9F5 #B589F5
monochromatic
#EBD818 #F0E151 #F5EB89 #FAF5C1 #FDFAE3

Accessibility & contrast

On white

1.23
#F5EB89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.13
#F5EB89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EB89
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EB89#FFFFFF#000000##000000
##F5EB891.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE581
Deuteranopia (green-blind)
#FEEA8D
Tritanopia (blue-blind)
#FFDFD3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5eb89;
/* rgb */ color: rgb(245, 235, 137);
/* oklch */ color: oklch(92.7% 0.120 103.3);
Tailwind
colors: {
  custom: {
    50: '#faf1ad',
    500: '#f5eb89',
    950: '#000000',
  },
}
SCSS
$custom: #f5eb89;
$custom-light: #faf1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f5eb89",
  "rgb": {
    "r": 245,
    "g": 235,
    "b": 137
  },
  "hsl": {
    "h": 54.444,
    "s": 84.375,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92736,
    "c": 0.12024,
    "h": 103.3
  },
  "luminance": 0.80635
}

Semantic roles & 50–950 ramp

primary
#F5EB89
secondary
#505CD2
accent
#19E105
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F5EB89

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

Preview Lab → · Contrast checker → · Palette generator →

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