#F5D87D#F5D87D

#F5D87D is a very light, moderate yellow. Relative luminance 0.700; OKLCH L 88.8% C 0.116 H 92.2°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#F5D87D
RGBrgb(245, 216, 125)
HSLhsl(46, 86%, 73%)
HSVhsv(46, 49%, 96%)
CMYKcmyk(0%, 11.8%, 49%, 3.9%)
CIE-LABlab(87.00, -1.39, 48.26)
CIE-LCHlch(87.00, 48.28, 91.65°)
OKLaboklab(88.75% -0.0045 0.1155)
OKLCHoklch(88.75% 0.116 92.2)
XYZxyz(65.9160, 70.0077, 29.4388)
Luminance0.7000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D87D #7D9AF5
analogous
#F59C7D #F5D87D #D6F57D
triadic
#F5D87D #7DF5D8 #D87DF5
tetradic
#F5D87D #7DF59C #7D9AF5 #F57DD6
square
#F5D87D #7DF59C #7D9AF5 #F57DD6
split-complementary
#F5D87D #7DD6F5 #9C7DF5
monochromatic
#E6B312 #F1C744 #F5D87D #F9E9B6 #FDF6E3

Accessibility & contrast

On white

1.40
#F5D87D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.00
#F5D87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D87D
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D87D#FFFFFF#000000##000000
##F5D87D1.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD575
Deuteranopia (green-blind)
#F1DE80
Tritanopia (blue-blind)
#FFCBC2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f5d87d;
/* rgb */ color: rgb(245, 216, 125);
/* oklch */ color: oklch(88.8% 0.116 92.2);
Tailwind
colors: {
  custom: {
    50: '#fbe3a4',
    500: '#f5d87d',
    950: '#000000',
  },
}
SCSS
$custom: #f5d87d;
$custom-light: #fbe3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d87d",
  "rgb": {
    "r": 245,
    "g": 216,
    "b": 125
  },
  "hsl": {
    "h": 45.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.88753,
    "c": 0.11555,
    "h": 92.2
  },
  "luminance": 0.70005
}

Semantic roles & 50–950 ramp

primary
#F5D87D
secondary
#4667D1
accent
#39E203
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F5D87D

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

Preview Lab → · Contrast checker → · Palette generator →

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