#F7DC6F#F7DC6F

#F7DC6F is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.5% C 0.132 H 95.7°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#F7DC6F
RGBrgb(247, 220, 111)
HSLhsl(48, 89%, 70%)
HSVhsv(48, 55%, 97%)
CMYKcmyk(0%, 10.9%, 55.1%, 3.1%)
CIE-LABlab(88.02, -3.78, 56.17)
CIE-LCHlch(88.02, 56.30, 93.84°)
OKLaboklab(89.55% -0.013 0.1315)
OKLCHoklch(89.55% 0.132 95.7)
XYZxyz(66.8228, 72.1112, 25.4349)
Luminance0.7211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC6F #6F8AF7
analogous
#F7986F #F7DC6F #CEF76F
triadic
#F7DC6F #6FF7DC #DC6FF7
tetradic
#F7DC6F #6FF798 #6F8AF7 #F76FCE
square
#F7DC6F #6FF798 #6F8AF7 #F76FCE
split-complementary
#F7DC6F #6FCEF7 #986FF7
monochromatic
#DFB50C #F4CE35 #F7DC6F #FAEAA9 #FDF8E2

Accessibility & contrast

On white

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

On black

15.42
#F7DC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC6F
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC6F#FFFFFF#000000##000000
##F7DC6F1.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD865
Deuteranopia (green-blind)
#F6E174
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f7dc6f;
/* rgb */ color: rgb(247, 220, 111);
/* oklch */ color: oklch(89.5% 0.132 95.7);
Tailwind
colors: {
  custom: {
    50: '#fde69b',
    500: '#f7dc6f',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc6f;
$custom-light: #fde69b;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc6f",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 111
  },
  "hsl": {
    "h": 48.088,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89549,
    "c": 0.13218,
    "h": 95.7
  },
  "luminance": 0.72108
}

Semantic roles & 50–950 ramp

primary
#F7DC6F
secondary
#3957D1
accent
#2EE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7DC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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