#F5DE86#F5DE86

#F5DE86 is a very light, moderate yellow. Relative luminance 0.734; OKLCH L 90.1% C 0.111 H 95.2°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#F5DE86
RGBrgb(245, 222, 134)
HSLhsl(48, 85%, 74%)
HSVhsv(48, 45%, 96%)
CMYKcmyk(0%, 9.4%, 45.3%, 3.9%)
CIE-LABlab(88.63, -3.61, 45.88)
CIE-LCHlch(88.63, 46.02, 94.50°)
OKLaboklab(90.08% -0.01 0.1108)
OKLCHoklch(90.08% 0.111 95.2)
XYZxyz(68.0825, 73.3788, 33.1269)
Luminance0.7338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE86 #869DF5
analogous
#F5A786 #F5DE86 #D4F586
triadic
#F5DE86 #86F5DE #DE86F5
tetradic
#F5DE86 #86F5A7 #869DF5 #F586D4
square
#F5DE86 #86F5A7 #869DF5 #F586D4
split-complementary
#F5DE86 #86D4F5 #A786F5
monochromatic
#ECBF15 #F0CF4D #F5DE86 #FAEDBF #FDF7E3

Accessibility & contrast

On white

1.34
#F5DE86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#F5DE86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE86
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE86#FFFFFF#000000##000000
##F5DE861.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA7F
Deuteranopia (green-blind)
#F5E289
Tritanopia (blue-blind)
#FFD2C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5de86;
/* rgb */ color: rgb(245, 222, 134);
/* oklch */ color: oklch(90.1% 0.111 95.2);
Tailwind
colors: {
  custom: {
    50: '#fae8aa',
    500: '#f5de86',
    950: '#000000',
  },
}
SCSS
$custom: #f5de86;
$custom-light: #fae8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de86",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 134
  },
  "hsl": {
    "h": 47.568,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90076,
    "c": 0.1112,
    "h": 95.2
  },
  "luminance": 0.73376
}

Semantic roles & 50–950 ramp

primary
#F5DE86
secondary
#4E69D2
accent
#32E104
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5DE86

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

Preview Lab → · Contrast checker → · Palette generator →

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