#F5E189#F5E189

#F5E189 is a very light, moderate yellow. Relative luminance 0.751; OKLCH L 90.7% C 0.111 H 96.9°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#F5E189
RGBrgb(245, 225, 137)
HSLhsl(49, 84%, 75%)
HSVhsv(49, 44%, 96%)
CMYKcmyk(0%, 8.2%, 44.1%, 3.9%)
CIE-LABlab(89.43, -4.84, 45.41)
CIE-LCHlch(89.43, 45.66, 96.08°)
OKLaboklab(90.72% -0.0133 0.1099)
OKLCHoklch(90.72% 0.111 96.9)
XYZxyz(69.0985, 75.0715, 34.5125)
Luminance0.7507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E189 #899DF5
analogous
#F5AB89 #F5E189 #D3F589
triadic
#F5E189 #89F5E1 #E189F5
tetradic
#F5E189 #89F5AB #899DF5 #F589D3
square
#F5E189 #89F5AB #899DF5 #F589D3
split-complementary
#F5E189 #89D3F5 #AB89F5
monochromatic
#EBC418 #F0D351 #F5E189 #FAEFC1 #FDF8E3

Accessibility & contrast

On white

1.31
#F5E189 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.01
#F5E189 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E189
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E189#FFFFFF#000000##000000
##F5E1891.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD82
Deuteranopia (green-blind)
#F7E48C
Tritanopia (blue-blind)
#FFD5CC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e189;
/* rgb */ color: rgb(245, 225, 137);
/* oklch */ color: oklch(90.7% 0.111 96.9);
Tailwind
colors: {
  custom: {
    50: '#faeaad',
    500: '#f5e189',
    950: '#000000',
  },
}
SCSS
$custom: #f5e189;
$custom-light: #faeaad;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e189",
  "rgb": {
    "r": 245,
    "g": 225,
    "b": 137
  },
  "hsl": {
    "h": 48.889,
    "s": 84.375,
    "l": 74.902
  },
  "oklch": {
    "l": 0.90721,
    "c": 0.11067,
    "h": 96.9
  },
  "luminance": 0.75069
}

Semantic roles & 50–950 ramp

primary
#F5E189
secondary
#5068D2
accent
#2DE105
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E189

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

Preview Lab → · Contrast checker → · Palette generator →

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