#F5D975#F5D975

#F5D975 is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.8% C 0.124 H 94.1°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#F5D975
RGBrgb(245, 217, 117)
HSLhsl(47, 86%, 71%)
HSVhsv(47, 52%, 96%)
CMYKcmyk(0%, 11.4%, 52.2%, 3.9%)
CIE-LABlab(87.16, -2.59, 52.30)
CIE-LCHlch(87.16, 52.36, 92.83°)
OKLaboklab(88.85% -0.0088 0.1237)
OKLCHoklch(88.85% 0.124 94.1)
XYZxyz(65.6823, 70.3254, 26.9406)
Luminance0.7032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D975 #7591F5
analogous
#F59975 #F5D975 #D1F575
triadic
#F5D975 #75F5D9 #D975F5
tetradic
#F5D975 #75F599 #7591F5 #F575D1
square
#F5D975 #75F599 #7591F5 #F575D1
split-complementary
#F5D975 #75D1F5 #9975F5
monochromatic
#DFB210 #F1C93C #F5D975 #F9E9AE #FDF7E2

Accessibility & contrast

On white

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

On black

15.06
#F5D975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D975
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D975#FFFFFF#000000##000000
##F5D9751.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD56C
Deuteranopia (green-blind)
#F2DE79
Tritanopia (blue-blind)
#FFCCC2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f5d975;
/* rgb */ color: rgb(245, 217, 117);
/* oklch */ color: oklch(88.8% 0.124 94.1);
Tailwind
colors: {
  custom: {
    50: '#fbe49f',
    500: '#f5d975',
    950: '#000000',
  },
}
SCSS
$custom: #f5d975;
$custom-light: #fbe49f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d975",
  "rgb": {
    "r": 245,
    "g": 217,
    "b": 117
  },
  "hsl": {
    "h": 46.875,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.88845,
    "c": 0.12402,
    "h": 94.1
  },
  "luminance": 0.70323
}

Semantic roles & 50–950 ramp

primary
#F5D975
secondary
#3F5ED0
accent
#34E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F5D975

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

Preview Lab → · Contrast checker → · Palette generator →

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