#F7D56C#F7D56C

#F7D56C is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.1% C 0.130 H 91.6°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#F7D56C
RGBrgb(247, 213, 108)
HSLhsl(45, 90%, 70%)
HSVhsv(45, 56%, 97%)
CMYKcmyk(0%, 13.8%, 56.3%, 3.1%)
CIE-LABlab(86.23, -0.44, 55.48)
CIE-LCHlch(86.23, 55.48, 90.46°)
OKLaboklab(88.12% -0.0037 0.1297)
OKLCHoklch(88.12% 0.13 91.6)
XYZxyz(64.8615, 68.4486, 23.9799)
Luminance0.6845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D56C #6C8EF7
analogous
#F7906C #F7D56C #D3F76C
triadic
#F7D56C #6CF7D5 #D56CF7
tetradic
#F7D56C #6CF790 #6C8EF7 #F76CD3
square
#F7D56C #6CF790 #6C8EF7 #F76CD3
split-complementary
#F7D56C #6CD3F7 #906CF7
monochromatic
#DDAA0C #F4C432 #F7D56C #FAE6A6 #FDF6E0

Accessibility & contrast

On white

1.43
#F7D56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#F7D56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D56C
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D56C#FFFFFF#000000##000000
##F7D56C1.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D262
Deuteranopia (green-blind)
#F1DC70
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f7d56c;
/* rgb */ color: rgb(247, 213, 108);
/* oklch */ color: oklch(88.1% 0.130 91.6);
Tailwind
colors: {
  custom: {
    50: '#fde199',
    500: '#f7d56c',
    950: '#000000',
  },
}
SCSS
$custom: #f7d56c;
$custom-light: #fde199;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d56c",
  "rgb": {
    "r": 247,
    "g": 213,
    "b": 108
  },
  "hsl": {
    "h": 45.324,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88123,
    "c": 0.12977,
    "h": 91.6
  },
  "luminance": 0.68445
}

Semantic roles & 50–950 ramp

primary
#F7D56C
secondary
#365CD1
accent
#38E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D56C

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

Preview Lab → · Contrast checker → · Palette generator →

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