#F7DC74#F7DC74

#F7DC74 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.6% C 0.128 H 95.1°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#F7DC74
RGBrgb(247, 220, 116)
HSLhsl(48, 89%, 71%)
HSVhsv(48, 53%, 97%)
CMYKcmyk(0%, 10.9%, 53%, 3.1%)
CIE-LABlab(88.08, -3.38, 53.91)
CIE-LCHlch(88.08, 54.01, 93.59°)
OKLaboklab(89.61% -0.0113 0.1271)
OKLCHoklch(89.61% 0.128 95.1)
XYZxyz(67.1058, 72.2244, 26.9256)
Luminance0.7222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC74 #748FF7
analogous
#F79A74 #F7DC74 #D0F774
triadic
#F7DC74 #74F7DC #DC74F7
tetradic
#F7DC74 #74F79A #748FF7 #F774D0
square
#F7DC74 #74F79A #748FF7 #F774D0
split-complementary
#F7DC74 #74D0F7 #9A74F7
monochromatic
#E4B70D #F4CD3A #F7DC74 #FAEBAE #FDF8E2

Accessibility & contrast

On white

1.36
#F7DC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#F7DC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC74
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC74#FFFFFF#000000##000000
##F7DC741.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD86B
Deuteranopia (green-blind)
#F6E178
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f7dc74;
/* rgb */ color: rgb(247, 220, 116);
/* oklch */ color: oklch(89.6% 0.128 95.1);
Tailwind
colors: {
  custom: {
    50: '#fce69e',
    500: '#f7dc74',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc74;
$custom-light: #fce69e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc74",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 116
  },
  "hsl": {
    "h": 47.634,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.8961,
    "c": 0.1276,
    "h": 95.1
  },
  "luminance": 0.72222
}

Semantic roles & 50–950 ramp

primary
#F7DC74
secondary
#3D5CD2
accent
#2FE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F7DC74

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

Preview Lab → · Contrast checker → · Palette generator →

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