#F7DF74#F7DF74

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

Color values

HEX#F7DF74
RGBrgb(247, 223, 116)
HSLhsl(49, 89%, 71%)
HSVhsv(49, 53%, 97%)
CMYKcmyk(0%, 9.7%, 53%, 3.1%)
CIE-LABlab(88.83, -4.90, 54.80)
CIE-LCHlch(88.83, 55.02, 95.11°)
OKLaboklab(90.21% -0.0157 0.1291)
OKLCHoklch(90.21% 0.13 96.9)
XYZxyz(67.9002, 73.8133, 27.1904)
Luminance0.7381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF74 #748CF7
analogous
#F79D74 #F7DF74 #CDF774
triadic
#F7DF74 #74F7DF #DF74F7
tetradic
#F7DF74 #74F79D #748CF7 #F774CD
square
#F7DF74 #74F79D #748CF7 #F774CD
split-complementary
#F7DF74 #74CDF7 #9D74F7
monochromatic
#E4BC0D #F4D23A #F7DF74 #FAECAE #FDF8E2

Accessibility & contrast

On white

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

On black

15.76
#F7DF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF74
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF74#FFFFFF#000000##000000
##F7DF741.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7df74;
/* rgb */ color: rgb(247, 223, 116);
/* oklch */ color: oklch(90.2% 0.130 96.9);
Tailwind
colors: {
  custom: {
    50: '#fce89f',
    500: '#f7df74',
    950: '#000000',
  },
}
SCSS
$custom: #f7df74;
$custom-light: #fce89f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df74",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 116
  },
  "hsl": {
    "h": 49.008,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90209,
    "c": 0.13,
    "h": 96.9
  },
  "luminance": 0.7381
}

Semantic roles & 50–950 ramp

primary
#F7DF74
secondary
#3D58D2
accent
#2AE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7DF74

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

Preview Lab → · Contrast checker → · Palette generator →

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