#F5D64C#F5D64C

#F5D64C is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.8% C 0.155 H 96.3°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#F5D64C
RGBrgb(245, 214, 76)
HSLhsl(49, 89%, 63%)
HSVhsv(49, 69%, 96%)
CMYKcmyk(0%, 12.7%, 69%, 3.9%)
CIE-LABlab(86.02, -3.77, 68.95)
CIE-LCHlch(86.02, 69.06, 93.13°)
OKLaboklab(87.83% -0.0169 0.154)
OKLCHoklch(87.83% 0.155 96.3)
XYZxyz(63.0104, 68.0307, 16.6484)
Luminance0.6803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D64C #4C6BF5
analogous
#F5814C #F5D64C #BFF54C
triadic
#F5D64C #4CF5D6 #D64CF5
tetradic
#F5D64C #4CF581 #4C6BF5 #F54CBF
square
#F5D64C #4CF581 #4C6BF5 #F54CBF
split-complementary
#F5D64C #4CBFF5 #814CF5
monochromatic
#BC9C0B #F2C912 #F5D64C #F8E386 #FBF1C0

Accessibility & contrast

On white

1.44
#F5D64C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#F5D64C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D64C
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D64C#FFFFFF#000000##000000
##F5D64C1.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD138
Deuteranopia (green-blind)
#F3DB54
Tritanopia (blue-blind)
#FFC6BA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f5d64c;
/* rgb */ color: rgb(245, 214, 76);
/* oklch */ color: oklch(87.8% 0.155 96.3);
Tailwind
colors: {
  custom: {
    50: '#fce285',
    500: '#f5d64c',
    950: '#000000',
  },
}
SCSS
$custom: #f5d64c;
$custom-light: #fce285;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d64c",
  "rgb": {
    "r": 245,
    "g": 214,
    "b": 76
  },
  "hsl": {
    "h": 48.994,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87827,
    "c": 0.15496,
    "h": 96.3
  },
  "luminance": 0.68027
}

Semantic roles & 50–950 ramp

primary
#F5D64C
secondary
#2B45BA
accent
#2AE600
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D64C

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

Preview Lab → · Contrast checker → · Palette generator →

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