#F7D462#F7D462

#F7D462 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.8% C 0.138 H 92.3°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#F7D462
RGBrgb(247, 212, 98)
HSLhsl(46, 90%, 68%)
HSVhsv(46, 60%, 97%)
CMYKcmyk(0%, 14.2%, 60.3%, 3.1%)
CIE-LABlab(85.88, -0.64, 59.64)
CIE-LCHlch(85.88, 59.64, 90.62°)
OKLaboklab(87.81% -0.0055 0.1375)
OKLCHoklch(87.81% 0.138 92.3)
XYZxyz(64.1088, 67.7463, 21.2525)
Luminance0.6774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D462 #6285F7
analogous
#F78962 #F7D462 #D0F762
triadic
#F7D462 #62F7D4 #D462F7
tetradic
#F7D462 #62F789 #6285F7 #F762D0
square
#F7D462 #62F789 #6285F7 #F762D0
split-complementary
#F7D462 #62D0F7 #8962F7
monochromatic
#D4A50B #F4C428 #F7D462 #FAE49C #FDF4D6

Accessibility & contrast

On white

1.44
#F7D462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#F7D462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D462
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D462#FFFFFF#000000##000000
##F7D4621.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D156
Deuteranopia (green-blind)
#F1DB67
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f7d462;
/* rgb */ color: rgb(247, 212, 98);
/* oklch */ color: oklch(87.8% 0.138 92.3);
Tailwind
colors: {
  custom: {
    50: '#fde092',
    500: '#f7d462',
    950: '#000000',
  },
}
SCSS
$custom: #f7d462;
$custom-light: #fde092;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d462",
  "rgb": {
    "r": 247,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 45.906,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87814,
    "c": 0.13761,
    "h": 92.3
  },
  "luminance": 0.67743
}

Semantic roles & 50–950 ramp

primary
#F7D462
secondary
#2F54CF
accent
#36E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7D462

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

Preview Lab → · Contrast checker → · Palette generator →

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