#F7D562#F7D562

#F7D562 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 88.0% C 0.138 H 92.9°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#F7D562
RGBrgb(247, 213, 98)
HSLhsl(46, 90%, 68%)
HSVhsv(46, 60%, 97%)
CMYKcmyk(0%, 13.8%, 60.3%, 3.1%)
CIE-LABlab(86.13, -1.15, 59.92)
CIE-LCHlch(86.13, 59.93, 91.10°)
OKLaboklab(88.01% -0.0069 0.1381)
OKLCHoklch(88.01% 0.138 92.9)
XYZxyz(64.3595, 68.2478, 21.3360)
Luminance0.6824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D562 #6284F7
analogous
#F78B62 #F7D562 #CEF762
triadic
#F7D562 #62F7D5 #D562F7
tetradic
#F7D562 #62F78B #6284F7 #F762CE
square
#F7D562 #62F78B #6284F7 #F762CE
split-complementary
#F7D562 #62CEF7 #8B62F7
monochromatic
#D4A60B #F4C528 #F7D562 #FAE59C #FDF4D6

Accessibility & contrast

On white

1.43
#F7D562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#F7D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D562
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D562#FFFFFF#000000##000000
##F7D5621.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D256
Deuteranopia (green-blind)
#F2DC67
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f7d562;
/* rgb */ color: rgb(247, 213, 98);
/* oklch */ color: oklch(88.0% 0.138 92.9);
Tailwind
colors: {
  custom: {
    50: '#fde192',
    500: '#f7d562',
    950: '#000000',
  },
}
SCSS
$custom: #f7d562;
$custom-light: #fde192;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d562",
  "rgb": {
    "r": 247,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 46.309,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88012,
    "c": 0.13827,
    "h": 92.9
  },
  "luminance": 0.68244
}

Semantic roles & 50–950 ramp

primary
#F7D562
secondary
#2F53CF
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7D562

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

Preview Lab → · Contrast checker → · Palette generator →

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