#F5D15A#F5D15A

#F5D15A is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 87.0% C 0.142 H 92.3°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#F5D15A
RGBrgb(245, 209, 90)
HSLhsl(46, 89%, 66%)
HSVhsv(46, 63%, 96%)
CMYKcmyk(0%, 14.7%, 63.3%, 3.9%)
CIE-LABlab(84.87, -0.45, 62.00)
CIE-LCHlch(84.87, 62.00, 90.41°)
OKLaboklab(86.95% -0.0057 0.1415)
OKLCHoklch(86.95% 0.142 92.3)
XYZxyz(62.3051, 65.7549, 19.0811)
Luminance0.6575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D15A #5A7EF5
analogous
#F5845A #F5D15A #CBF55A
triadic
#F5D15A #5AF5D1 #D15AF5
tetradic
#F5D15A #5AF584 #5A7EF5 #F55ACB
square
#F5D15A #5AF584 #5A7EF5 #F55ACB
split-complementary
#F5D15A #5ACBF5 #845AF5
monochromatic
#C89D0C #F2C120 #F5D15A #F8E194 #FCF1CD

Accessibility & contrast

On white

1.48
#F5D15A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#F5D15A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D15A
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D15A#FFFFFF#000000##000000
##F5D15A1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4D
Deuteranopia (green-blind)
#EFD85F
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f5d15a;
/* rgb */ color: rgb(245, 209, 90);
/* oklch */ color: oklch(87.0% 0.142 92.3);
Tailwind
colors: {
  custom: {
    50: '#fcde8d',
    500: '#f5d15a',
    950: '#000000',
  },
}
SCSS
$custom: #f5d15a;
$custom-light: #fcde8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d15a",
  "rgb": {
    "r": 245,
    "g": 209,
    "b": 90
  },
  "hsl": {
    "h": 46.065,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86952,
    "c": 0.14161,
    "h": 92.3
  },
  "luminance": 0.65752
}

Semantic roles & 50–950 ramp

primary
#F5D15A
secondary
#2E51C5
accent
#35E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D15A

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

Preview Lab → · Contrast checker → · Palette generator →

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