#F7E472#F7E472

#F7E472 is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.2% C 0.136 H 100.0°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#F7E472
RGBrgb(247, 228, 114)
HSLhsl(51, 89%, 71%)
HSVhsv(51, 54%, 97%)
CMYKcmyk(0%, 7.7%, 53.8%, 3.1%)
CIE-LABlab(90.08, -7.57, 57.19)
CIE-LCHlch(90.08, 57.69, 97.54°)
OKLaboklab(91.19% -0.0236 0.134)
OKLCHoklch(91.19% 0.136 100)
XYZxyz(69.1408, 76.4785, 27.0362)
Luminance0.7648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E472 #7285F7
analogous
#F7A172 #F7E472 #C7F772
triadic
#F7E472 #72F7E4 #E472F7
tetradic
#F7E472 #72F7A1 #7285F7 #F772C7
square
#F7E472 #72F7A1 #7285F7 #F772C7
split-complementary
#F7E472 #72C7F7 #A172F7
monochromatic
#E2C30D #F4D938 #F7E472 #FAEFAC #FDF9E2

Accessibility & contrast

On white

1.29
#F7E472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.30
#F7E472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E472
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E472#FFFFFF#000000##000000
##F7E4721.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE67
Deuteranopia (green-blind)
#FCE677
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f7e472;
/* rgb */ color: rgb(247, 228, 114);
/* oklch */ color: oklch(91.2% 0.136 100.0);
Tailwind
colors: {
  custom: {
    50: '#fcec9d',
    500: '#f7e472',
    950: '#000000',
  },
}
SCSS
$custom: #f7e472;
$custom-light: #fcec9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e472",
  "rgb": {
    "r": 247,
    "g": 228,
    "b": 114
  },
  "hsl": {
    "h": 51.429,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9119,
    "c": 0.13611,
    "h": 100
  },
  "luminance": 0.76476
}

Semantic roles & 50–950 ramp

primary
#F7E472
secondary
#3B51D2
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E472

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

Preview Lab → · Contrast checker → · Palette generator →

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