#F5DD86#F5DD86

#F5DD86 is a very light, moderate yellow. Relative luminance 0.728; OKLCH L 89.9% C 0.110 H 94.4°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#F5DD86
RGBrgb(245, 221, 134)
HSLhsl(47, 85%, 74%)
HSVhsv(47, 45%, 96%)
CMYKcmyk(0%, 9.8%, 45.3%, 3.9%)
CIE-LABlab(88.38, -3.10, 45.56)
CIE-LCHlch(88.38, 45.67, 93.90°)
OKLaboklab(89.88% -0.0086 0.11)
OKLCHoklch(89.88% 0.11 94.4)
XYZxyz(67.8176, 72.8492, 33.0386)
Luminance0.7285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD86 #869EF5
analogous
#F5A686 #F5DD86 #D6F586
triadic
#F5DD86 #86F5DD #DD86F5
tetradic
#F5DD86 #86F5A6 #869EF5 #F586D6
square
#F5DD86 #86F5A6 #869EF5 #F586D6
split-complementary
#F5DD86 #86D6F5 #A686F5
monochromatic
#ECBD15 #F0CD4D #F5DD86 #FAEDBF #FDF7E3

Accessibility & contrast

On white

1.35
#F5DD86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.57
#F5DD86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DD86
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DD86#FFFFFF#000000##000000
##F5DD861.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED97F
Deuteranopia (green-blind)
#F4E189
Tritanopia (blue-blind)
#FFD1C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5dd86;
/* rgb */ color: rgb(245, 221, 134);
/* oklch */ color: oklch(89.9% 0.110 94.4);
Tailwind
colors: {
  custom: {
    50: '#fae7aa',
    500: '#f5dd86',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd86;
$custom-light: #fae7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd86",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 134
  },
  "hsl": {
    "h": 47.027,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.89877,
    "c": 0.11037,
    "h": 94.4
  },
  "luminance": 0.72847
}

Semantic roles & 50–950 ramp

primary
#F5DD86
secondary
#4E6AD2
accent
#34E104
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5DD86

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

Preview Lab → · Contrast checker → · Palette generator →

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