#F7D662#F7D662

#F7D662 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.2% C 0.139 H 93.5°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#F7D662
RGBrgb(247, 214, 98)
HSLhsl(47, 90%, 68%)
HSVhsv(47, 60%, 97%)
CMYKcmyk(0%, 13.4%, 60.3%, 3.1%)
CIE-LABlab(86.38, -1.66, 60.20)
CIE-LCHlch(86.38, 60.22, 91.58°)
OKLaboklab(88.21% -0.0084 0.1387)
OKLCHoklch(88.21% 0.139 93.5)
XYZxyz(64.6118, 68.7524, 21.4201)
Luminance0.6875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D662 #6283F7
analogous
#F78B62 #F7D662 #CEF762
triadic
#F7D662 #62F7D6 #D662F7
tetradic
#F7D662 #62F78B #6283F7 #F762CE
square
#F7D662 #62F78B #6283F7 #F762CE
split-complementary
#F7D662 #62CEF7 #8B62F7
monochromatic
#D4A70B #F4C728 #F7D662 #FAE59C #FDF4D6

Accessibility & contrast

On white

1.42
#F7D662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#F7D662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D662
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D662#FFFFFF#000000##000000
##F7D6621.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD256
Deuteranopia (green-blind)
#F3DC67
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f7d662;
/* rgb */ color: rgb(247, 214, 98);
/* oklch */ color: oklch(88.2% 0.139 93.5);
Tailwind
colors: {
  custom: {
    50: '#fde293',
    500: '#f7d662',
    950: '#000000',
  },
}
SCSS
$custom: #f7d662;
$custom-light: #fde293;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d662",
  "rgb": {
    "r": 247,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 46.711,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88211,
    "c": 0.13896,
    "h": 93.5
  },
  "luminance": 0.68749
}

Semantic roles & 50–950 ramp

primary
#F7D662
secondary
#2F52CF
accent
#33E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7D662

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

Preview Lab → · Contrast checker → · Palette generator →

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