#F5DF86#F5DF86

#F5DF86 is a very light, moderate yellow. Relative luminance 0.739; OKLCH L 90.3% C 0.112 H 95.9°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#F5DF86
RGBrgb(245, 223, 134)
HSLhsl(48, 85%, 74%)
HSVhsv(48, 45%, 96%)
CMYKcmyk(0%, 9%, 45.3%, 3.9%)
CIE-LABlab(88.88, -4.12, 46.19)
CIE-LCHlch(88.88, 46.38, 95.09°)
OKLaboklab(90.28% -0.0115 0.1115)
OKLCHoklch(90.28% 0.112 95.9)
XYZxyz(68.3488, 73.9116, 33.2157)
Luminance0.7391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF86 #869CF5
analogous
#F5A886 #F5DF86 #D4F586
triadic
#F5DF86 #86F5DF #DF86F5
tetradic
#F5DF86 #86F5A8 #869CF5 #F586D4
square
#F5DF86 #86F5A8 #869CF5 #F586D4
split-complementary
#F5DF86 #86D4F5 #A886F5
monochromatic
#ECC115 #F0D04D #F5DF86 #FAEEBF #FDF8E3

Accessibility & contrast

On white

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

On black

15.78
#F5DF86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF86
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF86#FFFFFF#000000##000000
##F5DF861.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB7F
Deuteranopia (green-blind)
#F5E289
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5df86;
/* rgb */ color: rgb(245, 223, 134);
/* oklch */ color: oklch(90.3% 0.112 95.9);
Tailwind
colors: {
  custom: {
    50: '#fae8aa',
    500: '#f5df86',
    950: '#000000',
  },
}
SCSS
$custom: #f5df86;
$custom-light: #fae8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df86",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 134
  },
  "hsl": {
    "h": 48.108,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90276,
    "c": 0.11205,
    "h": 95.9
  },
  "luminance": 0.73909
}

Semantic roles & 50–950 ramp

primary
#F5DF86
secondary
#4E68D2
accent
#30E104
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5DF86

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

Preview Lab → · Contrast checker → · Palette generator →

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