#F7D159#F7D159

#F7D159 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.1% C 0.143 H 91.5°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#F7D159
RGBrgb(247, 209, 89)
HSLhsl(46, 91%, 66%)
HSVhsv(46, 64%, 97%)
CMYKcmyk(0%, 15.4%, 64%, 3.1%)
CIE-LABlab(85.05, 0.32, 62.67)
CIE-LCHlch(85.05, 62.67, 89.71°)
OKLaboklab(87.13% -0.0038 0.1427)
OKLCHoklch(87.13% 0.143 91.5)
XYZxyz(62.9645, 66.0998, 18.8913)
Luminance0.6610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D159 #597FF7
analogous
#F78259 #F7D159 #CEF759
triadic
#F7D159 #59F7D1 #D159F7
tetradic
#F7D159 #59F782 #597FF7 #F759CE
square
#F7D159 #59F782 #597FF7 #F759CE
split-complementary
#F7D159 #59CEF7 #8259F7
monochromatic
#CC9D0A #F4C11F #F7D159 #FAE193 #FDF1CE

Accessibility & contrast

On white

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

On black

14.22
#F7D159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D159
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D159#FFFFFF#000000##000000
##F7D1591.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4B
Deuteranopia (green-blind)
#F0D95E
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f7d159;
/* rgb */ color: rgb(247, 209, 89);
/* oklch */ color: oklch(87.1% 0.143 91.5);
Tailwind
colors: {
  custom: {
    50: '#fdde8d',
    500: '#f7d159',
    950: '#000000',
  },
}
SCSS
$custom: #f7d159;
$custom-light: #fdde8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d159",
  "rgb": {
    "r": 247,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 45.57,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.87131,
    "c": 0.14278,
    "h": 91.5
  },
  "luminance": 0.66096
}

Semantic roles & 50–950 ramp

primary
#F7D159
secondary
#2C52C8
accent
#37E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F7D159

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

Preview Lab → · Contrast checker → · Palette generator →

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