#F7E56D#F7E56D

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

Color values

HEX#F7E56D
RGBrgb(247, 229, 109)
HSLhsl(52, 90%, 70%)
HSVhsv(52, 56%, 97%)
CMYKcmyk(0%, 7.3%, 55.9%, 3.1%)
CIE-LABlab(90.28, -8.45, 59.70)
CIE-LCHlch(90.28, 60.29, 98.05°)
OKLaboklab(91.34% -0.0267 0.1389)
OKLCHoklch(91.34% 0.141 100.9)
XYZxyz(69.1398, 76.9196, 25.6700)
Luminance0.7692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E56D #6D7FF7
analogous
#F7A06D #F7E56D #C4F76D
triadic
#F7E56D #6DF7E5 #E56DF7
tetradic
#F7E56D #6DF7A0 #6D7FF7 #F76DC4
square
#F7E56D #6DF7A0 #6D7FF7 #F76DC4
split-complementary
#F7E56D #6DC4F7 #A06DF7
monochromatic
#DDC20C #F4DB33 #F7E56D #FAEFA7 #FDFAE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7E56D#FFFFFF#000000##000000
##F7E56D1.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)
#F8DF61
Deuteranopia (green-blind)
#FDE673
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f7e56d;
/* rgb */ color: rgb(247, 229, 109);
/* oklch */ color: oklch(91.3% 0.141 100.9);
Tailwind
colors: {
  custom: {
    50: '#fded9a',
    500: '#f7e56d',
    950: '#000000',
  },
}
SCSS
$custom: #f7e56d;
$custom-light: #fded9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e56d",
  "rgb": {
    "r": 247,
    "g": 229,
    "b": 109
  },
  "hsl": {
    "h": 52.174,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91335,
    "c": 0.14146,
    "h": 100.9
  },
  "luminance": 0.76917
}

Semantic roles & 50–950 ramp

primary
#F7E56D
secondary
#374BD1
accent
#1EE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E56D

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

Preview Lab → · Contrast checker → · Palette generator →

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