#F7DC7A#F7DC7A

#F7DC7A is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.7% C 0.122 H 94.3°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#F7DC7A
RGBrgb(247, 220, 122)
HSLhsl(47, 89%, 72%)
HSVhsv(47, 51%, 97%)
CMYKcmyk(0%, 10.9%, 50.6%, 3.1%)
CIE-LABlab(88.15, -2.89, 51.14)
CIE-LCHlch(88.15, 51.23, 93.23°)
OKLaboklab(89.69% -0.0092 0.1216)
OKLCHoklch(89.69% 0.122 94.3)
XYZxyz(67.4661, 72.3686, 28.8234)
Luminance0.7237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC7A #7A95F7
analogous
#F79E7A #F7DC7A #D3F77A
triadic
#F7DC7A #7AF7DC #DC7AF7
tetradic
#F7DC7A #7AF79E #7A95F7 #F77AD3
square
#F7DC7A #7AF79E #7A95F7 #F77AD3
split-complementary
#F7DC7A #7AD3F7 #9E7AF7
monochromatic
#E9B90E #F4CD40 #F7DC7A #FAEBB4 #FDF7E2

Accessibility & contrast

On white

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

On black

15.47
#F7DC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC7A
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC7A#FFFFFF#000000##000000
##F7DC7A1.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7dc7a;
/* rgb */ color: rgb(247, 220, 122);
/* oklch */ color: oklch(89.7% 0.122 94.3);
Tailwind
colors: {
  custom: {
    50: '#fce6a2',
    500: '#f7dc7a',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc7a;
$custom-light: #fce6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc7a",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 122
  },
  "hsl": {
    "h": 47.04,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.89687,
    "c": 0.12192,
    "h": 94.3
  },
  "luminance": 0.72366
}

Semantic roles & 50–950 ramp

primary
#F7DC7A
secondary
#4262D3
accent
#32E500
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F7DC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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