#F5DF89#F5DF89

#F5DF89 is a very light, moderate yellow. Relative luminance 0.740; OKLCH L 90.3% C 0.109 H 95.5°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#F5DF89
RGBrgb(245, 223, 137)
HSLhsl(48, 84%, 75%)
HSVhsv(48, 44%, 96%)
CMYKcmyk(0%, 9%, 44.1%, 3.9%)
CIE-LABlab(88.92, -3.83, 44.77)
CIE-LCHlch(88.92, 44.93, 94.89°)
OKLaboklab(90.32% -0.0104 0.1084)
OKLCHoklch(90.32% 0.109 95.5)
XYZxyz(68.5610, 73.9965, 34.3333)
Luminance0.7399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF89 #899FF5
analogous
#F5A989 #F5DF89 #D5F589
triadic
#F5DF89 #89F5DF #DF89F5
tetradic
#F5DF89 #89F5A9 #899FF5 #F589D5
square
#F5DF89 #89F5A9 #899FF5 #F589D5
split-complementary
#F5DF89 #89D5F5 #A989F5
monochromatic
#EBC018 #F0D051 #F5DF89 #FAEEC1 #FDF7E3

Accessibility & contrast

On white

1.33
#F5DF89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.80
#F5DF89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF89
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF89#FFFFFF#000000##000000
##F5DF891.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB82
Deuteranopia (green-blind)
#F5E28C
Tritanopia (blue-blind)
#FFD3CA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5df89;
/* rgb */ color: rgb(245, 223, 137);
/* oklch */ color: oklch(90.3% 0.109 95.5);
Tailwind
colors: {
  custom: {
    50: '#fae8ad',
    500: '#f5df89',
    950: '#000000',
  },
}
SCSS
$custom: #f5df89;
$custom-light: #fae8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df89",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 137
  },
  "hsl": {
    "h": 47.778,
    "s": 84.375,
    "l": 74.902
  },
  "oklch": {
    "l": 0.90321,
    "c": 0.10894,
    "h": 95.5
  },
  "luminance": 0.73994
}

Semantic roles & 50–950 ramp

primary
#F5DF89
secondary
#506BD2
accent
#32E105
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5DF89

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

Preview Lab → · Contrast checker → · Palette generator →

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