#F5D574#F5D574

#F5D574 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 88.0% C 0.122 H 91.5°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#F5D574
RGBrgb(245, 213, 116)
HSLhsl(45, 87%, 71%)
HSVhsv(45, 53%, 96%)
CMYKcmyk(0%, 13.1%, 52.7%, 3.9%)
CIE-LABlab(86.14, -0.63, 51.56)
CIE-LCHlch(86.14, 51.56, 90.70°)
OKLaboklab(88.04% -0.0032 0.122)
OKLCHoklch(88.04% 0.122 91.5)
XYZxyz(64.6053, 68.2650, 26.2931)
Luminance0.6826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D574 #7494F5
analogous
#F59474 #F5D574 #D5F574
triadic
#F5D574 #74F5D5 #D574F5
tetradic
#F5D574 #74F594 #7494F5 #F574D5
square
#F5D574 #74F594 #7494F5 #F574D5
split-complementary
#F5D574 #74D5F5 #9474F5
monochromatic
#DFAB10 #F1C43B #F5D574 #F9E6AD #FDF6E2

Accessibility & contrast

On white

1.43
#F5D574 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#F5D574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D574
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D574#FFFFFF#000000##000000
##F5D5741.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D26B
Deuteranopia (green-blind)
#F0DB78
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f5d574;
/* rgb */ color: rgb(245, 213, 116);
/* oklch */ color: oklch(88.0% 0.122 91.5);
Tailwind
colors: {
  custom: {
    50: '#fbe19e',
    500: '#f5d574',
    950: '#000000',
  },
}
SCSS
$custom: #f5d574;
$custom-light: #fbe19e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d574",
  "rgb": {
    "r": 245,
    "g": 213,
    "b": 116
  },
  "hsl": {
    "h": 45.116,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88038,
    "c": 0.12204,
    "h": 91.5
  },
  "luminance": 0.68262
}

Semantic roles & 50–950 ramp

primary
#F5D574
secondary
#3E62D0
accent
#3AE302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D574

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

Preview Lab → · Contrast checker → · Palette generator →

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