#F5DC85#F5DC85

#F5DC85 is a very light, moderate yellow. Relative luminance 0.723; OKLCH L 89.7% C 0.111 H 93.9°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#F5DC85
RGBrgb(245, 220, 133)
HSLhsl(47, 85%, 74%)
HSVhsv(47, 46%, 96%)
CMYKcmyk(0%, 10.2%, 45.7%, 3.9%)
CIE-LABlab(88.11, -2.69, 45.72)
CIE-LCHlch(88.11, 45.80, 93.37°)
OKLaboklab(89.66% -0.0075 0.1103)
OKLCHoklch(89.66% 0.111 93.9)
XYZxyz(67.4850, 72.2950, 32.5853)
Luminance0.7229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC85 #859EF5
analogous
#F5A485 #F5DC85 #D6F585
triadic
#F5DC85 #85F5DC #DC85F5
tetradic
#F5DC85 #85F5A4 #859EF5 #F585D6
square
#F5DC85 #85F5A4 #859EF5 #F585D6
split-complementary
#F5DC85 #85D6F5 #A485F5
monochromatic
#ECBC14 #F0CC4C #F5DC85 #FAECBE #FDF7E3

Accessibility & contrast

On white

1.36
#F5DC85 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#F5DC85 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DC85
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DC85#FFFFFF#000000##000000
##F5DC851.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD97E
Deuteranopia (green-blind)
#F3E088
Tritanopia (blue-blind)
#FFD0C7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5dc85;
/* rgb */ color: rgb(245, 220, 133);
/* oklch */ color: oklch(89.7% 0.111 93.9);
Tailwind
colors: {
  custom: {
    50: '#fae6aa',
    500: '#f5dc85',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc85;
$custom-light: #fae6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc85",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 133
  },
  "hsl": {
    "h": 46.607,
    "s": 84.848,
    "l": 74.118
  },
  "oklch": {
    "l": 0.89663,
    "c": 0.11059,
    "h": 93.9
  },
  "luminance": 0.72292
}

Semantic roles & 50–950 ramp

primary
#F5DC85
secondary
#4D6AD2
accent
#36E104
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #F5DC85

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

Preview Lab → · Contrast checker → · Palette generator →

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