#F5D14F#F5D14F

#F5D14F is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.9% C 0.150 H 93.4°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#F5D14F
RGBrgb(245, 209, 79)
HSLhsl(47, 89%, 64%)
HSVhsv(47, 68%, 96%)
CMYKcmyk(0%, 14.7%, 67.8%, 3.9%)
CIE-LABlab(84.78, -1.08, 66.50)
CIE-LCHlch(84.78, 66.51, 90.93°)
OKLaboklab(86.85% -0.0088 0.1494)
OKLCHoklch(86.85% 0.15 93.4)
XYZxyz(61.8711, 65.5813, 16.7952)
Luminance0.6558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D14F #4F73F5
analogous
#F57E4F #F5D14F #C6F54F
triadic
#F5D14F #4FF5D1 #D14FF5
tetradic
#F5D14F #4FF57E #4F73F5 #F54FC6
square
#F5D14F #4FF57E #4F73F5 #F54FC6
split-complementary
#F5D14F #4FC6F5 #7E4FF5
monochromatic
#BF980B #F2C215 #F5D14F #F8E089 #FCEFC3

Accessibility & contrast

On white

1.49
#F5D14F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#F5D14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D14F
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D14F#FFFFFF#000000##000000
##F5D14F1.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3E
Deuteranopia (green-blind)
#EFD856
Tritanopia (blue-blind)
#FFC1B6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f5d14f;
/* rgb */ color: rgb(245, 209, 79);
/* oklch */ color: oklch(86.9% 0.150 93.4);
Tailwind
colors: {
  custom: {
    50: '#fcde87',
    500: '#f5d14f',
    950: '#000000',
  },
}
SCSS
$custom: #f5d14f;
$custom-light: #fcde87;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d14f",
  "rgb": {
    "r": 245,
    "g": 209,
    "b": 79
  },
  "hsl": {
    "h": 46.988,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86853,
    "c": 0.14962,
    "h": 93.4
  },
  "luminance": 0.65578
}

Semantic roles & 50–950 ramp

primary
#F5D14F
secondary
#2C4BBD
accent
#32E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D14F

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

Preview Lab → · Contrast checker → · Palette generator →

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