#F7ED62#F7ED62

#F7ED62 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.8% C 0.158 H 105.2°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#F7ED62
RGBrgb(247, 237, 98)
HSLhsl(56, 90%, 68%)
HSVhsv(56, 60%, 97%)
CMYKcmyk(0%, 4%, 60.3%, 3.1%)
CIE-LABlab(92.23, -13.17, 66.64)
CIE-LCHlch(92.23, 67.93, 101.18°)
OKLaboklab(92.85% -0.0414 0.1524)
OKLCHoklch(92.85% 0.158 105.2)
XYZxyz(70.8490, 81.2268, 23.4992)
Luminance0.8122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7ED62 #626CF7
analogous
#F7A262 #F7ED62 #B7F762
triadic
#F7ED62 #62F7ED #ED62F7
tetradic
#F7ED62 #62F7A2 #626CF7 #F762B7
square
#F7ED62 #62F7A2 #626CF7 #F762B7
split-complementary
#F7ED62 #62B7F7 #A262F7
monochromatic
#D4C60B #F4E628 #F7ED62 #FAF49C #FDFAD6

Accessibility & contrast

On white

1.22
#F7ED62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#F7ED62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7ED62
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7ED62#FFFFFF#000000##000000
##F7ED621.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FFEC6A
Tritanopia (blue-blind)
#FFDECF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7ed62;
/* rgb */ color: rgb(247, 237, 98);
/* oklch */ color: oklch(92.8% 0.158 105.2);
Tailwind
colors: {
  custom: {
    50: '#fdf294',
    500: '#f7ed62',
    950: '#000000',
  },
}
SCSS
$custom: #f7ed62;
$custom-light: #fdf294;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ed62",
  "rgb": {
    "r": 247,
    "g": 237,
    "b": 98
  },
  "hsl": {
    "h": 55.973,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.9285,
    "c": 0.15792,
    "h": 105.2
  },
  "luminance": 0.81224
}

Semantic roles & 50–950 ramp

primary
#F7ED62
secondary
#2F39CF
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F7ED62

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

Preview Lab → · Contrast checker → · Palette generator →

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