#F5D15C#F5D15C

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

Color values

HEX#F5D15C
RGBrgb(245, 209, 92)
HSLhsl(46, 88%, 66%)
HSVhsv(46, 62%, 96%)
CMYKcmyk(0%, 14.7%, 62.4%, 3.9%)
CIE-LABlab(84.89, -0.32, 61.14)
CIE-LCHlch(84.89, 61.15, 90.30°)
OKLaboklab(86.97% -0.0051 0.14)
OKLCHoklch(86.97% 0.14 92.1)
XYZxyz(62.3914, 65.7895, 19.5355)
Luminance0.6579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D15C #5C80F5
analogous
#F5845C #F5D15C #CDF55C
triadic
#F5D15C #5CF5D1 #D15CF5
tetradic
#F5D15C #5CF584 #5C80F5 #F55CCD
square
#F5D15C #5CF584 #5C80F5 #F55CCD
split-complementary
#F5D15C #5CCDF5 #845CF5
monochromatic
#CA9E0C #F1C122 #F5D15C #F9E196 #FCF2CF

Accessibility & contrast

On white

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

On black

14.16
#F5D15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D15C
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D15C#FFFFFF#000000##000000
##F5D15C1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4F
Deuteranopia (green-blind)
#EFD861
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f5d15c;
/* rgb */ color: rgb(245, 209, 92);
/* oklch */ color: oklch(87.0% 0.140 92.1);
Tailwind
colors: {
  custom: {
    50: '#fcde8f',
    500: '#f5d15c',
    950: '#000000',
  },
}
SCSS
$custom: #f5d15c;
$custom-light: #fcde8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d15c",
  "rgb": {
    "r": 245,
    "g": 209,
    "b": 92
  },
  "hsl": {
    "h": 45.882,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86972,
    "c": 0.14005,
    "h": 92.1
  },
  "luminance": 0.65786
}

Semantic roles & 50–950 ramp

primary
#F5D15C
secondary
#2F52C6
accent
#36E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D15C

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

Preview Lab → · Contrast checker → · Palette generator →

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