#F7E56C#F7E56C

#F7E56C is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.3% C 0.142 H 100.9°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#F7E56C
RGBrgb(247, 229, 108)
HSLhsl(52, 90%, 70%)
HSVhsv(52, 56%, 97%)
CMYKcmyk(0%, 7.3%, 56.3%, 3.1%)
CIE-LABlab(90.27, -8.52, 60.13)
CIE-LCHlch(90.27, 60.73, 98.06°)
OKLaboklab(91.32% -0.027 0.1398)
OKLCHoklch(91.32% 0.142 100.9)
XYZxyz(69.0863, 76.8981, 25.3882)
Luminance0.7690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E56C #6C7EF7
analogous
#F7A06C #F7E56C #C4F76C
triadic
#F7E56C #6CF7E5 #E56CF7
tetradic
#F7E56C #6CF7A0 #6C7EF7 #F76CC4
square
#F7E56C #6CF7A0 #6C7EF7 #F76CC4
split-complementary
#F7E56C #6CC4F7 #A06CF7
monochromatic
#DDC20C #F4DB32 #F7E56C #FAEFA6 #FDFAE0

Accessibility & contrast

On white

1.28
#F7E56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#F7E56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E56C
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E56C#FFFFFF#000000##000000
##F7E56C1.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF60
Deuteranopia (green-blind)
#FDE672
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f7e56c;
/* rgb */ color: rgb(247, 229, 108);
/* oklch */ color: oklch(91.3% 0.142 100.9);
Tailwind
colors: {
  custom: {
    50: '#fded9a',
    500: '#f7e56c',
    950: '#000000',
  },
}
SCSS
$custom: #f7e56c;
$custom-light: #fded9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e56c",
  "rgb": {
    "r": 247,
    "g": 229,
    "b": 108
  },
  "hsl": {
    "h": 52.23,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91324,
    "c": 0.14234,
    "h": 100.9
  },
  "luminance": 0.76895
}

Semantic roles & 50–950 ramp

primary
#F7E56C
secondary
#364AD1
accent
#1EE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E56C

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

Preview Lab → · Contrast checker → · Palette generator →

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