#F7ED56#F7ED56

#F7ED56 is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.7% C 0.167 H 105.5°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#F7ED56
RGBrgb(247, 237, 86)
HSLhsl(56, 91%, 65%)
HSVhsv(56, 65%, 97%)
CMYKcmyk(0%, 4%, 65.2%, 3.1%)
CIE-LABlab(92.14, -13.89, 71.38)
CIE-LCHlch(92.14, 72.72, 101.01°)
OKLaboklab(92.75% -0.0447 0.1607)
OKLCHoklch(92.75% 0.167 105.5)
XYZxyz(70.3243, 81.0169, 20.7357)
Luminance0.8101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7ED56 #5660F7
analogous
#F79C56 #F7ED56 #B1F756
triadic
#F7ED56 #56F7ED #ED56F7
tetradic
#F7ED56 #56F79C #5660F7 #F756B1
square
#F7ED56 #56F79C #5660F7 #F756B1
split-complementary
#F7ED56 #56B1F7 #9C56F7
monochromatic
#C9BD0A #F4E71C #F7ED56 #FAF390 #FDF9CB

Accessibility & contrast

On white

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

On black

17.20
#F7ED56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7ED56
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7ED56#FFFFFF#000000##000000
##F7ED561.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE541
Deuteranopia (green-blind)
#FFEB5F
Tritanopia (blue-blind)
#FFDECE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f7ed56;
/* rgb */ color: rgb(247, 237, 86);
/* oklch */ color: oklch(92.7% 0.167 105.5);
Tailwind
colors: {
  custom: {
    50: '#fdf28d',
    500: '#f7ed56',
    950: '#000000',
  },
}
SCSS
$custom: #f7ed56;
$custom-light: #fdf28d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ed56",
  "rgb": {
    "r": 247,
    "g": 237,
    "b": 86
  },
  "hsl": {
    "h": 56.273,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.92746,
    "c": 0.16681,
    "h": 105.5
  },
  "luminance": 0.81014
}

Semantic roles & 50–950 ramp

primary
#F7ED56
secondary
#2C35C5
accent
#0EE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F7ED56

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

Preview Lab → · Contrast checker → · Palette generator →

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