#F7EC56#F7EC56

#F7EC56 is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.5% C 0.166 H 105.1°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#F7EC56
RGBrgb(247, 236, 86)
HSLhsl(56, 91%, 65%)
HSVhsv(56, 65%, 97%)
CMYKcmyk(0%, 4.5%, 65.2%, 3.1%)
CIE-LABlab(91.88, -13.40, 71.11)
CIE-LCHlch(91.88, 72.37, 100.67°)
OKLaboklab(92.54% -0.0433 0.1602)
OKLCHoklch(92.54% 0.166 105.1)
XYZxyz(70.0356, 80.4395, 20.6395)
Luminance0.8044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC56 #5661F7
analogous
#F79C56 #F7EC56 #B1F756
triadic
#F7EC56 #56F7EC #EC56F7
tetradic
#F7EC56 #56F79C #5661F7 #F756B1
square
#F7EC56 #56F79C #5661F7 #F756B1
split-complementary
#F7EC56 #56B1F7 #9C56F7
monochromatic
#C9BC0A #F4E51C #F7EC56 #FAF390 #FDF9CB

Accessibility & contrast

On white

1.23
#F7EC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.09
#F7EC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EC56
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EC56#FFFFFF#000000##000000
##F7EC561.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7ec56;
/* rgb */ color: rgb(247, 236, 86);
/* oklch */ color: oklch(92.5% 0.166 105.1);
Tailwind
colors: {
  custom: {
    50: '#fdf18d',
    500: '#f7ec56',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec56;
$custom-light: #fdf18d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec56",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 86
  },
  "hsl": {
    "h": 55.901,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.92541,
    "c": 0.1659,
    "h": 105.1
  },
  "luminance": 0.80437
}

Semantic roles & 50–950 ramp

primary
#F7EC56
secondary
#2C36C5
accent
#10E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F7EC56

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

Preview Lab → · Contrast checker → · Palette generator →

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