#F7ED72#F7ED72

#F7ED72 is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 93.0% C 0.144 H 104.6°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#F7ED72
RGBrgb(247, 237, 114)
HSLhsl(55, 89%, 71%)
HSVhsv(55, 54%, 97%)
CMYKcmyk(0%, 4%, 53.8%, 3.1%)
CIE-LABlab(92.38, -12.04, 59.86)
CIE-LCHlch(92.38, 61.05, 101.37°)
OKLaboklab(93.02% -0.0364 0.1398)
OKLCHoklch(93.02% 0.144 104.6)
XYZxyz(71.6814, 81.5597, 27.8830)
Luminance0.8156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7ED72 #727CF7
analogous
#F7AA72 #F7ED72 #BEF772
triadic
#F7ED72 #72F7ED #ED72F7
tetradic
#F7ED72 #72F7AA #727CF7 #F772BE
square
#F7ED72 #72F7AA #727CF7 #F772BE
split-complementary
#F7ED72 #72BEF7 #AA72F7
monochromatic
#E2D20D #F4E638 #F7ED72 #FAF4AC #FDFBE2

Accessibility & contrast

On white

1.21
#F7ED72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#F7ED72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7ED72
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7ED72#FFFFFF#000000##000000
##F7ED721.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE666
Deuteranopia (green-blind)
#FFEC78
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7ed72;
/* rgb */ color: rgb(247, 237, 114);
/* oklch */ color: oklch(93.0% 0.144 104.6);
Tailwind
colors: {
  custom: {
    50: '#fcf29e',
    500: '#f7ed72',
    950: '#000000',
  },
}
SCSS
$custom: #f7ed72;
$custom-light: #fcf29e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ed72",
  "rgb": {
    "r": 247,
    "g": 237,
    "b": 114
  },
  "hsl": {
    "h": 55.489,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93015,
    "c": 0.14447,
    "h": 104.6
  },
  "luminance": 0.81557
}

Semantic roles & 50–950 ramp

primary
#F7ED72
secondary
#3B47D2
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F7ED72

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

Preview Lab → · Contrast checker → · Palette generator →

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