#F5D985#F5D985

#F5D985 is a very light, moderate yellow. Relative luminance 0.707; OKLCH L 89.1% C 0.108 H 91.6°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#F5D985
RGBrgb(245, 217, 133)
HSLhsl(45, 85%, 74%)
HSVhsv(45, 46%, 96%)
CMYKcmyk(0%, 11.4%, 45.7%, 3.9%)
CIE-LABlab(87.36, -1.17, 44.78)
CIE-LCHlch(87.36, 44.79, 91.49°)
OKLaboklab(89.07% -0.003 0.1082)
OKLCHoklch(89.07% 0.108 91.6)
XYZxyz(66.7047, 70.7344, 32.3252)
Luminance0.7073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D985 #85A1F5
analogous
#F5A185 #F5D985 #D9F585
triadic
#F5D985 #85F5D9 #D985F5
tetradic
#F5D985 #85F5A1 #85A1F5 #F585D9
square
#F5D985 #85F5A1 #85A1F5 #F585D9
split-complementary
#F5D985 #85D9F5 #A185F5
monochromatic
#ECB614 #F0C74C #F5D985 #FAEBBE #FDF6E3

Accessibility & contrast

On white

1.39
#F5D985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.15
#F5D985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D985
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D985#FFFFFF#000000##000000
##F5D9851.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD67E
Deuteranopia (green-blind)
#F1DE88
Tritanopia (blue-blind)
#FFCDC5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f5d985;
/* rgb */ color: rgb(245, 217, 133);
/* oklch */ color: oklch(89.1% 0.108 91.6);
Tailwind
colors: {
  custom: {
    50: '#fae4aa',
    500: '#f5d985',
    950: '#000000',
  },
}
SCSS
$custom: #f5d985;
$custom-light: #fae4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d985",
  "rgb": {
    "r": 245,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 45,
    "s": 84.848,
    "l": 74.118
  },
  "oklch": {
    "l": 0.89067,
    "c": 0.10826,
    "h": 91.6
  },
  "luminance": 0.70732
}

Semantic roles & 50–950 ramp

primary
#F5D985
secondary
#4D6ED2
accent
#3BE104
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #F5D985

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

Preview Lab → · Contrast checker → · Palette generator →

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