#F7D56F#F7D56F

#F7D56F is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 88.2% C 0.127 H 91.2°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#F7D56F
RGBrgb(247, 213, 111)
HSLhsl(45, 89%, 70%)
HSVhsv(45, 55%, 97%)
CMYKcmyk(0%, 13.8%, 55.1%, 3.1%)
CIE-LABlab(86.26, -0.22, 54.12)
CIE-LCHlch(86.26, 54.12, 90.23°)
OKLaboklab(88.16% -0.0027 0.1271)
OKLCHoklch(88.16% 0.127 91.2)
XYZxyz(65.0239, 68.5136, 24.8353)
Luminance0.6851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D56F #6F91F7
analogous
#F7916F #F7D56F #D5F76F
triadic
#F7D56F #6FF7D5 #D56FF7
tetradic
#F7D56F #6FF791 #6F91F7 #F76FD5
square
#F7D56F #6FF791 #6F91F7 #F76FD5
split-complementary
#F7D56F #6FD5F7 #916FF7
monochromatic
#DFAA0C #F4C435 #F7D56F #FAE6A9 #FDF7E2

Accessibility & contrast

On white

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

On black

14.70
#F7D56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D56F
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D56F#FFFFFF#000000##000000
##F7D56F1.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D266
Deuteranopia (green-blind)
#F1DC73
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f7d56f;
/* rgb */ color: rgb(247, 213, 111);
/* oklch */ color: oklch(88.2% 0.127 91.2);
Tailwind
colors: {
  custom: {
    50: '#fde19b',
    500: '#f7d56f',
    950: '#000000',
  },
}
SCSS
$custom: #f7d56f;
$custom-light: #fde19b;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d56f",
  "rgb": {
    "r": 247,
    "g": 213,
    "b": 111
  },
  "hsl": {
    "h": 45,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88159,
    "c": 0.1271,
    "h": 91.2
  },
  "luminance": 0.6851
}

Semantic roles & 50–950 ramp

primary
#F7D56F
secondary
#395FD1
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D56F

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

Preview Lab → · Contrast checker → · Palette generator →

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