#F5E389#F5E389

#F5E389 is a very light, moderate yellow. Relative luminance 0.762; OKLCH L 91.1% C 0.112 H 98.3°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#F5E389
RGBrgb(245, 227, 137)
HSLhsl(50, 84%, 75%)
HSVhsv(50, 44%, 96%)
CMYKcmyk(0%, 7.3%, 44.1%, 3.9%)
CIE-LABlab(89.93, -5.85, 46.04)
CIE-LCHlch(89.93, 46.41, 97.24°)
OKLaboklab(91.12% -0.0162 0.1113)
OKLCHoklch(91.12% 0.112 98.3)
XYZxyz(69.6424, 76.1591, 34.6938)
Luminance0.7616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E389 #899BF5
analogous
#F5AD89 #F5E389 #D1F589
triadic
#F5E389 #89F5E3 #E389F5
tetradic
#F5E389 #89F5AD #899BF5 #F589D1
square
#F5E389 #89F5AD #899BF5 #F589D1
split-complementary
#F5E389 #89D1F5 #AD89F5
monochromatic
#EBC818 #F0D651 #F5E389 #FAF0C1 #FDF8E3

Accessibility & contrast

On white

1.29
#F5E389 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#F5E389 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E389
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E389#FFFFFF#000000##000000
##F5E3891.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE82
Deuteranopia (green-blind)
#F8E58D
Tritanopia (blue-blind)
#FFD7CD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e389;
/* rgb */ color: rgb(245, 227, 137);
/* oklch */ color: oklch(91.1% 0.112 98.3);
Tailwind
colors: {
  custom: {
    50: '#faebad',
    500: '#f5e389',
    950: '#000000',
  },
}
SCSS
$custom: #f5e389;
$custom-light: #faebad;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e389",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 137
  },
  "hsl": {
    "h": 50,
    "s": 84.375,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91121,
    "c": 0.11248,
    "h": 98.3
  },
  "luminance": 0.76157
}

Semantic roles & 50–950 ramp

primary
#F5E389
secondary
#5066D2
accent
#29E105
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E389

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

Preview Lab → · Contrast checker → · Palette generator →

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