#F5E089#F5E089

#F5E089 is a very light, moderate yellow. Relative luminance 0.745; OKLCH L 90.5% C 0.110 H 96.2°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#F5E089
RGBrgb(245, 224, 137)
HSLhsl(48, 84%, 75%)
HSVhsv(48, 44%, 96%)
CMYKcmyk(0%, 8.6%, 44.1%, 3.9%)
CIE-LABlab(89.17, -4.33, 45.09)
CIE-LCHlch(89.17, 45.30, 95.49°)
OKLaboklab(90.52% -0.0118 0.1092)
OKLCHoklch(90.52% 0.11 96.2)
XYZxyz(68.8290, 74.5324, 34.4226)
Luminance0.7453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E089 #899EF5
analogous
#F5AA89 #F5E089 #D4F589
triadic
#F5E089 #89F5E0 #E089F5
tetradic
#F5E089 #89F5AA #899EF5 #F589D4
square
#F5E089 #89F5AA #899EF5 #F589D4
split-complementary
#F5E089 #89D4F5 #AA89F5
monochromatic
#EBC218 #F0D151 #F5E089 #FAEFC1 #FDF8E3

Accessibility & contrast

On white

1.32
#F5E089 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.91
#F5E089 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E089
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E089#FFFFFF#000000##000000
##F5E0891.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC82
Deuteranopia (green-blind)
#F6E38C
Tritanopia (blue-blind)
#FFD4CB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e089;
/* rgb */ color: rgb(245, 224, 137);
/* oklch */ color: oklch(90.5% 0.110 96.2);
Tailwind
colors: {
  custom: {
    50: '#fae9ad',
    500: '#f5e089',
    950: '#000000',
  },
}
SCSS
$custom: #f5e089;
$custom-light: #fae9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e089",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 137
  },
  "hsl": {
    "h": 48.333,
    "s": 84.375,
    "l": 74.902
  },
  "oklch": {
    "l": 0.9052,
    "c": 0.10979,
    "h": 96.2
  },
  "luminance": 0.7453
}

Semantic roles & 50–950 ramp

primary
#F5E089
secondary
#5069D2
accent
#2FE105
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E089

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

Preview Lab → · Contrast checker → · Palette generator →

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