#F7D057#F7D057

#F7D057 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.9% C 0.144 H 91.1°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#F7D057
RGBrgb(247, 208, 87)
HSLhsl(45, 91%, 65%)
HSVhsv(45, 65%, 97%)
CMYKcmyk(0%, 15.8%, 64.8%, 3.1%)
CIE-LABlab(84.78, 0.71, 63.24)
CIE-LCHlch(84.78, 63.24, 89.35°)
OKLaboklab(86.92% -0.0029 0.1436)
OKLCHoklch(86.92% 0.144 91.1)
XYZxyz(62.6371, 65.5776, 18.3735)
Luminance0.6557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D057 #577EF7
analogous
#F78057 #F7D057 #CEF757
triadic
#F7D057 #57F7D0 #D057F7
tetradic
#F7D057 #57F780 #577EF7 #F757CE
square
#F7D057 #57F780 #577EF7 #F757CE
split-complementary
#F7D057 #57CEF7 #8057F7
monochromatic
#CA9B0A #F4C01D #F7D057 #FAE091 #FDF1CC

Accessibility & contrast

On white

1.49
#F7D057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#F7D057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D057
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D057#FFFFFF#000000##000000
##F7D0571.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD49
Deuteranopia (green-blind)
#EFD85D
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f7d057;
/* rgb */ color: rgb(247, 208, 87);
/* oklch */ color: oklch(86.9% 0.144 91.1);
Tailwind
colors: {
  custom: {
    50: '#fede8b',
    500: '#f7d057',
    950: '#000000',
  },
}
SCSS
$custom: #f7d057;
$custom-light: #fede8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d057",
  "rgb": {
    "r": 247,
    "g": 208,
    "b": 87
  },
  "hsl": {
    "h": 45.375,
    "s": 90.909,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86915,
    "c": 0.14367,
    "h": 91.1
  },
  "luminance": 0.65574
}

Semantic roles & 50–950 ramp

primary
#F7D057
secondary
#2C52C6
accent
#38E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F7D057

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

Preview Lab → · Contrast checker → · Palette generator →

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