#F7E762#F7E762

#F7E762 is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.6% C 0.152 H 102.5°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#F7E762
RGBrgb(247, 231, 98)
HSLhsl(54, 90%, 68%)
HSVhsv(54, 60%, 97%)
CMYKcmyk(0%, 6.5%, 60.3%, 3.1%)
CIE-LABlab(90.69, -10.21, 64.96)
CIE-LCHlch(90.69, 65.76, 98.93°)
OKLaboklab(91.63% -0.0329 0.1489)
OKLCHoklch(91.63% 0.152 102.5)
XYZxyz(69.1409, 77.8105, 22.9298)
Luminance0.7781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E762 #6272F7
analogous
#F79C62 #F7E762 #BCF762
triadic
#F7E762 #62F7E7 #E762F7
tetradic
#F7E762 #62F79C #6272F7 #F762BC
square
#F7E762 #62F79C #6272F7 #F762BC
split-complementary
#F7E762 #62BCF7 #9C62F7
monochromatic
#D4BE0B #F4DE28 #F7E762 #FAF09C #FDF9D6

Accessibility & contrast

On white

1.27
#F7E762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#F7E762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E762
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E762#FFFFFF#000000##000000
##F7E7621.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE053
Deuteranopia (green-blind)
#FFE869
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f7e762;
/* rgb */ color: rgb(247, 231, 98);
/* oklch */ color: oklch(91.6% 0.152 102.5);
Tailwind
colors: {
  custom: {
    50: '#fdee94',
    500: '#f7e762',
    950: '#000000',
  },
}
SCSS
$custom: #f7e762;
$custom-light: #fdee94;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e762",
  "rgb": {
    "r": 247,
    "g": 231,
    "b": 98
  },
  "hsl": {
    "h": 53.557,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.91627,
    "c": 0.15245,
    "h": 102.5
  },
  "luminance": 0.77808
}

Semantic roles & 50–950 ramp

primary
#F7E762
secondary
#2F40CF
accent
#19E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160D
muted
#86847F

Preview Lab

Preview with #F7E762

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

Preview Lab → · Contrast checker → · Palette generator →

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