#F7DF71#F7DF71

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

Color values

HEX#F7DF71
RGBrgb(247, 223, 113)
HSLhsl(49, 89%, 71%)
HSVhsv(49, 54%, 97%)
CMYKcmyk(0%, 9.7%, 54.3%, 3.1%)
CIE-LABlab(88.80, -5.14, 56.16)
CIE-LCHlch(88.80, 56.39, 95.23°)
OKLaboklab(90.17% -0.0167 0.1317)
OKLCHoklch(90.17% 0.133 97.2)
XYZxyz(67.7285, 73.7446, 26.2861)
Luminance0.7374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF71 #7189F7
analogous
#F79C71 #F7DF71 #CCF771
triadic
#F7DF71 #71F7DF #DF71F7
tetradic
#F7DF71 #71F79C #7189F7 #F771CC
square
#F7DF71 #71F79C #7189F7 #F771CC
split-complementary
#F7DF71 #71CCF7 #9C71F7
monochromatic
#E1BB0D #F4D237 #F7DF71 #FAECAB #FDF8E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7DF71#FFFFFF#000000##000000
##F7DF711.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)
#F2DA67
Deuteranopia (green-blind)
#F8E376
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f7df71;
/* rgb */ color: rgb(247, 223, 113);
/* oklch */ color: oklch(90.2% 0.133 97.2);
Tailwind
colors: {
  custom: {
    50: '#fce89d',
    500: '#f7df71',
    950: '#000000',
  },
}
SCSS
$custom: #f7df71;
$custom-light: #fce89d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df71",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 113
  },
  "hsl": {
    "h": 49.254,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90173,
    "c": 0.13277,
    "h": 97.2
  },
  "luminance": 0.73742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7DF71

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

Preview Lab → · Contrast checker → · Palette generator →

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