#F5D74C#F5D74C

#F5D74C is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 88.0% C 0.156 H 96.8°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#F5D74C
RGBrgb(245, 215, 76)
HSLhsl(49, 89%, 63%)
HSVhsv(49, 69%, 96%)
CMYKcmyk(0%, 12.2%, 69%, 3.9%)
CIE-LABlab(86.28, -4.28, 69.21)
CIE-LCHlch(86.28, 69.34, 93.54°)
OKLaboklab(88.03% -0.0183 0.1546)
OKLCHoklch(88.03% 0.156 96.8)
XYZxyz(63.2642, 68.5384, 16.7330)
Luminance0.6854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D74C #4C6AF5
analogous
#F5824C #F5D74C #BFF54C
triadic
#F5D74C #4CF5D7 #D74CF5
tetradic
#F5D74C #4CF582 #4C6AF5 #F54CBF
square
#F5D74C #4CF582 #4C6AF5 #F54CBF
split-complementary
#F5D74C #4CBFF5 #824CF5
monochromatic
#BC9D0B #F2CA12 #F5D74C #F8E486 #FBF1C0

Accessibility & contrast

On white

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

On black

14.71
#F5D74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D74C
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D74C#FFFFFF#000000##000000
##F5D74C1.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD238
Deuteranopia (green-blind)
#F4DC54
Tritanopia (blue-blind)
#FFC7BB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f5d74c;
/* rgb */ color: rgb(245, 215, 76);
/* oklch */ color: oklch(88.0% 0.156 96.8);
Tailwind
colors: {
  custom: {
    50: '#fce386',
    500: '#f5d74c',
    950: '#000000',
  },
}
SCSS
$custom: #f5d74c;
$custom-light: #fce386;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d74c",
  "rgb": {
    "r": 245,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 49.349,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.88027,
    "c": 0.15566,
    "h": 96.8
  },
  "luminance": 0.68535
}

Semantic roles & 50–950 ramp

primary
#F5D74C
secondary
#2B44BA
accent
#29E600
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D74C

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

Preview Lab → · Contrast checker → · Palette generator →

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