#F7D959#F7D959

#F7D959 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.7% C 0.148 H 96.0°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#F7D959
RGBrgb(247, 217, 89)
HSLhsl(49, 91%, 66%)
HSVhsv(49, 64%, 97%)
CMYKcmyk(0%, 12.1%, 64%, 3.1%)
CIE-LABlab(87.06, -3.75, 64.83)
CIE-LCHlch(87.06, 64.94, 93.31°)
OKLaboklab(88.72% -0.0155 0.1473)
OKLCHoklch(88.72% 0.148 96)
XYZxyz(64.9768, 70.1243, 19.5621)
Luminance0.7012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D959 #5977F7
analogous
#F78A59 #F7D959 #C6F759
triadic
#F7D959 #59F7D9 #D959F7
tetradic
#F7D959 #59F78A #5977F7 #F759C6
square
#F7D959 #59F78A #5977F7 #F759C6
split-complementary
#F7D959 #59C6F7 #8A59F7
monochromatic
#CCA70A #F4CC1F #F7D959 #FAE693 #FDF4CE

Accessibility & contrast

On white

1.40
#F7D959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.02
#F7D959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D959
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D959#FFFFFF#000000##000000
##F7D9591.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54A
Deuteranopia (green-blind)
#F5DE5F
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f7d959;
/* rgb */ color: rgb(247, 217, 89);
/* oklch */ color: oklch(88.7% 0.148 96.0);
Tailwind
colors: {
  custom: {
    50: '#fde48d',
    500: '#f7d959',
    950: '#000000',
  },
}
SCSS
$custom: #f7d959;
$custom-light: #fde48d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d959",
  "rgb": {
    "r": 247,
    "g": 217,
    "b": 89
  },
  "hsl": {
    "h": 48.608,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8872,
    "c": 0.14813,
    "h": 96
  },
  "luminance": 0.70121
}

Semantic roles & 50–950 ramp

primary
#F7D959
secondary
#2C4AC8
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7D959

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

Preview Lab → · Contrast checker → · Palette generator →

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