#F7D772#F7D772

#F7D772 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.6% C 0.126 H 92.1°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#F7D772
RGBrgb(247, 215, 114)
HSLhsl(46, 89%, 71%)
HSVhsv(46, 54%, 97%)
CMYKcmyk(0%, 13%, 53.8%, 3.1%)
CIE-LABlab(86.80, -1.00, 53.33)
CIE-LCHlch(86.80, 53.34, 91.08°)
OKLaboklab(88.59% -0.0047 0.1257)
OKLCHoklch(88.59% 0.126 92.1)
XYZxyz(65.6980, 69.5931, 25.8886)
Luminance0.6959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D772 #7292F7
analogous
#F79472 #F7D772 #D4F772
triadic
#F7D772 #72F7D7 #D772F7
tetradic
#F7D772 #72F794 #7292F7 #F772D4
square
#F7D772 #72F794 #7292F7 #F772D4
split-complementary
#F7D772 #72D4F7 #9472F7
monochromatic
#E2AF0D #F4C738 #F7D772 #FAE7AC #FDF7E2

Accessibility & contrast

On white

1.41
#F7D772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#F7D772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D772
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D772#FFFFFF#000000##000000
##F7D7721.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD469
Deuteranopia (green-blind)
#F2DD76
Tritanopia (blue-blind)
#FFC9C0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f7d772;
/* rgb */ color: rgb(247, 215, 114);
/* oklch */ color: oklch(88.6% 0.126 92.1);
Tailwind
colors: {
  custom: {
    50: '#fce39d',
    500: '#f7d772',
    950: '#000000',
  },
}
SCSS
$custom: #f7d772;
$custom-light: #fce39d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d772",
  "rgb": {
    "r": 247,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 45.564,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88592,
    "c": 0.12575,
    "h": 92.1
  },
  "luminance": 0.6959
}

Semantic roles & 50–950 ramp

primary
#F7D772
secondary
#3B60D2
accent
#37E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D772

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

Preview Lab → · Contrast checker → · Palette generator →

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