#F7DC7C#F7DC7C

#F7DC7C is a very light, moderate yellow. Relative luminance 0.724; OKLCH L 89.7% C 0.120 H 94.1°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#F7DC7C
RGBrgb(247, 220, 124)
HSLhsl(47, 88%, 73%)
HSVhsv(47, 50%, 97%)
CMYKcmyk(0%, 10.9%, 49.8%, 3.1%)
CIE-LABlab(88.17, -2.71, 50.21)
CIE-LCHlch(88.17, 50.29, 93.09°)
OKLaboklab(89.71% -0.0085 0.1197)
OKLCHoklch(89.71% 0.12 94.1)
XYZxyz(67.5913, 72.4186, 29.4827)
Luminance0.7242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC7C #7C97F7
analogous
#F79E7C #F7DC7C #D5F77C
triadic
#F7DC7C #7CF7DC #DC7CF7
tetradic
#F7DC7C #7CF79E #7C97F7 #F77CD5
square
#F7DC7C #7CF79E #7C97F7 #F77CD5
split-complementary
#F7DC7C #7CD5F7 #9E7CF7
monochromatic
#EABA0E #F3CD42 #F7DC7C #FBEBB6 #FDF7E2

Accessibility & contrast

On white

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

On black

15.48
#F7DC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC7C
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC7C#FFFFFF#000000##000000
##F7DC7C1.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED874
Deuteranopia (green-blind)
#F5E180
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f7dc7c;
/* rgb */ color: rgb(247, 220, 124);
/* oklch */ color: oklch(89.7% 0.120 94.1);
Tailwind
colors: {
  custom: {
    50: '#fce6a4',
    500: '#f7dc7c',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc7c;
$custom-light: #fce6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc7c",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 124
  },
  "hsl": {
    "h": 46.829,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.89714,
    "c": 0.11998,
    "h": 94.1
  },
  "luminance": 0.72416
}

Semantic roles & 50–950 ramp

primary
#F7DC7C
secondary
#4464D3
accent
#33E500
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F7DC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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