#F7DC7D#F7DC7D

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

Color values

HEX#F7DC7D
RGBrgb(247, 220, 125)
HSLhsl(47, 88%, 73%)
HSVhsv(47, 49%, 97%)
CMYKcmyk(0%, 10.9%, 49.4%, 3.1%)
CIE-LABlab(88.18, -2.63, 49.75)
CIE-LCHlch(88.18, 49.82, 93.02°)
OKLaboklab(89.73% -0.0082 0.1187)
OKLCHoklch(89.73% 0.119 93.9)
XYZxyz(67.6549, 72.4441, 29.8175)
Luminance0.7244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC7D #7D98F7
analogous
#F79F7D #F7DC7D #D5F77D
triadic
#F7DC7D #7DF7DC #DC7DF7
tetradic
#F7DC7D #7DF79F #7D98F7 #F77DD5
square
#F7DC7D #7DF79F #7D98F7 #F77DD5
split-complementary
#F7DC7D #7DD5F7 #9F7DF7
monochromatic
#EBBA0E #F3CC43 #F7DC7D #FBECB7 #FDF7E2

Accessibility & contrast

On white

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

On black

15.49
#F7DC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC7D
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC7D#FFFFFF#000000##000000
##F7DC7D1.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED875
Deuteranopia (green-blind)
#F5E181
Tritanopia (blue-blind)
#FFCFC6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f7dc7d;
/* rgb */ color: rgb(247, 220, 125);
/* oklch */ color: oklch(89.7% 0.119 93.9);
Tailwind
colors: {
  custom: {
    50: '#fce6a4',
    500: '#f7dc7d',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc7d;
$custom-light: #fce6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc7d",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 125
  },
  "hsl": {
    "h": 46.721,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89727,
    "c": 0.11901,
    "h": 93.9
  },
  "luminance": 0.72441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7DC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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