#F7D259#F7D259

#F7D259 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.3% C 0.143 H 92.1°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#F7D259
RGBrgb(247, 210, 89)
HSLhsl(46, 91%, 66%)
HSVhsv(46, 64%, 97%)
CMYKcmyk(0%, 15%, 64%, 3.1%)
CIE-LABlab(85.30, -0.19, 62.94)
CIE-LCHlch(85.30, 62.94, 90.17°)
OKLaboklab(87.33% -0.0052 0.1433)
OKLCHoklch(87.33% 0.143 92.1)
XYZxyz(63.2106, 66.5921, 18.9734)
Luminance0.6659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D259 #597EF7
analogous
#F78359 #F7D259 #CDF759
triadic
#F7D259 #59F7D2 #D259F7
tetradic
#F7D259 #59F783 #597EF7 #F759CD
square
#F7D259 #59F783 #597EF7 #F759CD
split-complementary
#F7D259 #59CDF7 #8359F7
monochromatic
#CC9E0A #F4C21F #F7D259 #FAE293 #FDF2CE

Accessibility & contrast

On white

1.47
#F7D259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.32
#F7D259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D259
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D259#FFFFFF#000000##000000
##F7D2591.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4B
Deuteranopia (green-blind)
#F0DA5F
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f7d259;
/* rgb */ color: rgb(247, 210, 89);
/* oklch */ color: oklch(87.3% 0.143 92.1);
Tailwind
colors: {
  custom: {
    50: '#fddf8d',
    500: '#f7d259',
    950: '#000000',
  },
}
SCSS
$custom: #f7d259;
$custom-light: #fddf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d259",
  "rgb": {
    "r": 247,
    "g": 210,
    "b": 89
  },
  "hsl": {
    "h": 45.949,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.87329,
    "c": 0.14341,
    "h": 92.1
  },
  "luminance": 0.66589
}

Semantic roles & 50–950 ramp

primary
#F7D259
secondary
#2C51C8
accent
#36E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F7D259

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

Preview Lab → · Contrast checker → · Palette generator →

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