#F5D15B#F5D15B

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

Color values

HEX#F5D15B
RGBrgb(245, 209, 91)
HSLhsl(46, 89%, 66%)
HSVhsv(46, 63%, 96%)
CMYKcmyk(0%, 14.7%, 62.9%, 3.9%)
CIE-LABlab(84.88, -0.39, 61.57)
CIE-LCHlch(84.88, 61.57, 90.36°)
OKLaboklab(86.96% -0.0054 0.1407)
OKLCHoklch(86.96% 0.141 92.2)
XYZxyz(62.3480, 65.7721, 19.3068)
Luminance0.6577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D15B #5B7FF5
analogous
#F5845B #F5D15B #CCF55B
triadic
#F5D15B #5BF5D1 #D15BF5
tetradic
#F5D15B #5BF584 #5B7FF5 #F55BCC
square
#F5D15B #5BF584 #5B7FF5 #F55BCC
split-complementary
#F5D15B #5BCCF5 #845BF5
monochromatic
#C99D0C #F1C121 #F5D15B #F9E195 #FCF1CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5D15B#FFFFFF#000000##000000
##F5D15B1.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)
#E6CE4E
Deuteranopia (green-blind)
#EFD860
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f5d15b;
/* rgb */ color: rgb(245, 209, 91);
/* oklch */ color: oklch(87.0% 0.141 92.2);
Tailwind
colors: {
  custom: {
    50: '#fcde8e',
    500: '#f5d15b',
    950: '#000000',
  },
}
SCSS
$custom: #f5d15b;
$custom-light: #fcde8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d15b",
  "rgb": {
    "r": 245,
    "g": 209,
    "b": 91
  },
  "hsl": {
    "h": 45.974,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86962,
    "c": 0.14084,
    "h": 92.2
  },
  "luminance": 0.65769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5D15B

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

Preview Lab → · Contrast checker → · Palette generator →

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