#F5DF91#F5DF91

#F5DF91 is a very light, moderate yellow. Relative luminance 0.742; OKLCH L 90.4% C 0.100 H 94.2°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#F5DF91
RGBrgb(245, 223, 145)
HSLhsl(47, 83%, 76%)
HSVhsv(47, 41%, 96%)
CMYKcmyk(0%, 9%, 40.8%, 3.9%)
CIE-LABlab(89.03, -3.02, 40.94)
CIE-LCHlch(89.03, 41.05, 94.22°)
OKLaboklab(90.45% -0.0074 0.1002)
OKLCHoklch(90.45% 0.1 94.2)
XYZxyz(69.1563, 74.2346, 37.4684)
Luminance0.7423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF91 #91A7F5
analogous
#F5AD91 #F5DF91 #D9F591
triadic
#F5DF91 #91F5DF #DF91F5
tetradic
#F5DF91 #91F5AD #91A7F5 #F591D9
square
#F5DF91 #91F5AD #91A7F5 #F591D9
split-complementary
#F5DF91 #91D9F5 #AD91F5
monochromatic
#EBBE21 #F0CF59 #F5DF91 #FAEFC9 #FCF7E3

Accessibility & contrast

On white

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

On black

15.85
#F5DF91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF91
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF91#FFFFFF#000000##000000
##F5DF911.001.3315.8515.85
#FFFFFF1.331.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDC8B
Deuteranopia (green-blind)
#F4E394
Tritanopia (blue-blind)
#FFD4CC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5df91;
/* rgb */ color: rgb(245, 223, 145);
/* oklch */ color: oklch(90.4% 0.100 94.2);
Tailwind
colors: {
  custom: {
    50: '#fae8b2',
    500: '#f5df91',
    950: '#000000',
  },
}
SCSS
$custom: #f5df91;
$custom-light: #fae8b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df91",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 145
  },
  "hsl": {
    "h": 46.8,
    "s": 83.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.90446,
    "c": 0.10042,
    "h": 94.2
  },
  "luminance": 0.74232
}

Semantic roles & 50–950 ramp

primary
#F5DF91
secondary
#5773D3
accent
#36E006
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F5DF91

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

Preview Lab → · Contrast checker → · Palette generator →

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