#F7DF72#F7DF72

#F7DF72 is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.2% C 0.132 H 97.1°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#F7DF72
RGBrgb(247, 223, 114)
HSLhsl(49, 89%, 71%)
HSVhsv(49, 54%, 97%)
CMYKcmyk(0%, 9.7%, 53.8%, 3.1%)
CIE-LABlab(88.81, -5.06, 55.71)
CIE-LCHlch(88.81, 55.94, 95.19°)
OKLaboklab(90.19% -0.0164 0.1308)
OKLCHoklch(90.19% 0.132 97.1)
XYZxyz(67.7851, 73.7672, 26.5843)
Luminance0.7376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF72 #728AF7
analogous
#F79C72 #F7DF72 #CCF772
triadic
#F7DF72 #72F7DF #DF72F7
tetradic
#F7DF72 #72F79C #728AF7 #F772CC
square
#F7DF72 #72F79C #728AF7 #F772CC
split-complementary
#F7DF72 #72CCF7 #9C72F7
monochromatic
#E2BB0D #F4D238 #F7DF72 #FAECAC #FDF8E2

Accessibility & contrast

On white

1.33
#F7DF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#F7DF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF72
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF72#FFFFFF#000000##000000
##F7DF721.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA68
Deuteranopia (green-blind)
#F8E377
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f7df72;
/* rgb */ color: rgb(247, 223, 114);
/* oklch */ color: oklch(90.2% 0.132 97.1);
Tailwind
colors: {
  custom: {
    50: '#fce89d',
    500: '#f7df72',
    950: '#000000',
  },
}
SCSS
$custom: #f7df72;
$custom-light: #fce89d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df72",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 114
  },
  "hsl": {
    "h": 49.173,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90185,
    "c": 0.13185,
    "h": 97.1
  },
  "luminance": 0.73764
}

Semantic roles & 50–950 ramp

primary
#F7DF72
secondary
#3B57D2
accent
#29E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7DF72

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

Preview Lab → · Contrast checker → · Palette generator →

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