#F5D159#F5D159

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

Color values

HEX#F5D159
RGBrgb(245, 209, 89)
HSLhsl(46, 89%, 65%)
HSVhsv(46, 64%, 96%)
CMYKcmyk(0%, 14.7%, 63.7%, 3.9%)
CIE-LABlab(84.86, -0.51, 62.42)
CIE-LCHlch(84.86, 62.42, 90.47°)
OKLaboklab(86.94% -0.006 0.1422)
OKLCHoklch(86.94% 0.142 92.4)
XYZxyz(62.2628, 65.7380, 18.8584)
Luminance0.6573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D159 #597DF5
analogous
#F58359 #F5D159 #CBF559
triadic
#F5D159 #59F5D1 #D159F5
tetradic
#F5D159 #59F583 #597DF5 #F559CB
square
#F5D159 #59F583 #597DF5 #F559CB
split-complementary
#F5D159 #59CBF5 #8359F5
monochromatic
#C89C0C #F2C11F #F5D159 #F8E193 #FCF1CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5D159#FFFFFF#000000##000000
##F5D1591.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)
#E6CE4B
Deuteranopia (green-blind)
#EFD85F
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f5d159;
/* rgb */ color: rgb(245, 209, 89);
/* oklch */ color: oklch(86.9% 0.142 92.4);
Tailwind
colors: {
  custom: {
    50: '#fcde8d',
    500: '#f5d159',
    950: '#000000',
  },
}
SCSS
$custom: #f5d159;
$custom-light: #fcde8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d159",
  "rgb": {
    "r": 245,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 46.154,
    "s": 88.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86942,
    "c": 0.14238,
    "h": 92.4
  },
  "luminance": 0.65735
}

Semantic roles & 50–950 ramp

primary
#F5D159
secondary
#2E51C4
accent
#35E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D159

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

Preview Lab → · Contrast checker → · Palette generator →

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