#F7DC6E#F7DC6E

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

Color values

HEX#F7DC6E
RGBrgb(247, 220, 110)
HSLhsl(48, 90%, 70%)
HSVhsv(48, 55%, 97%)
CMYKcmyk(0%, 10.9%, 55.5%, 3.1%)
CIE-LABlab(88.01, -3.85, 56.62)
CIE-LCHlch(88.01, 56.75, 93.89°)
OKLaboklab(89.54% -0.0133 0.1324)
OKLCHoklch(89.54% 0.133 95.8)
XYZxyz(66.7680, 72.0893, 25.1465)
Luminance0.7209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC6E #6E89F7
analogous
#F7976E #F7DC6E #CEF76E
triadic
#F7DC6E #6EF7DC #DC6EF7
tetradic
#F7DC6E #6EF797 #6E89F7 #F76ECE
square
#F7DC6E #6EF797 #6E89F7 #F76ECE
split-complementary
#F7DC6E #6ECEF7 #976EF7
monochromatic
#DEB50C #F4CE34 #F7DC6E #FAEAA8 #FDF8E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7DC6E#FFFFFF#000000##000000
##F7DC6E1.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)
#EFD863
Deuteranopia (green-blind)
#F6E173
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f7dc6e;
/* rgb */ color: rgb(247, 220, 110);
/* oklch */ color: oklch(89.5% 0.133 95.8);
Tailwind
colors: {
  custom: {
    50: '#fde69b',
    500: '#f7dc6e',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc6e;
$custom-light: #fde69b;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc6e",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 110
  },
  "hsl": {
    "h": 48.175,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.89538,
    "c": 0.13307,
    "h": 95.8
  },
  "luminance": 0.72086
}

Semantic roles & 50–950 ramp

primary
#F7DC6E
secondary
#3856D1
accent
#2DE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7DC6E

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

Preview Lab → · Contrast checker → · Palette generator →

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