#F7DC70#F7DC70

#F7DC70 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.6% C 0.131 H 95.5°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#F7DC70
RGBrgb(247, 220, 112)
HSLhsl(48, 89%, 70%)
HSVhsv(48, 55%, 97%)
CMYKcmyk(0%, 10.9%, 54.7%, 3.1%)
CIE-LABlab(88.03, -3.70, 55.72)
CIE-LCHlch(88.03, 55.85, 93.80°)
OKLaboklab(89.56% -0.0127 0.1307)
OKLCHoklch(89.56% 0.131 95.5)
XYZxyz(66.8781, 72.1334, 25.7265)
Luminance0.7213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC70 #708BF7
analogous
#F79870 #F7DC70 #CEF770
triadic
#F7DC70 #70F7DC #DC70F7
tetradic
#F7DC70 #70F798 #708BF7 #F770CE
square
#F7DC70 #70F798 #708BF7 #F770CE
split-complementary
#F7DC70 #70CEF7 #9870F7
monochromatic
#E0B60D #F4CE36 #F7DC70 #FAEAAA #FDF8E2

Accessibility & contrast

On white

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

On black

15.43
#F7DC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC70
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC70#FFFFFF#000000##000000
##F7DC701.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7dc70;
/* rgb */ color: rgb(247, 220, 112);
/* oklch */ color: oklch(89.6% 0.131 95.5);
Tailwind
colors: {
  custom: {
    50: '#fce69c',
    500: '#f7dc70',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc70;
$custom-light: #fce69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc70",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 112
  },
  "hsl": {
    "h": 48,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89561,
    "c": 0.13127,
    "h": 95.5
  },
  "luminance": 0.7213
}

Semantic roles & 50–950 ramp

primary
#F7DC70
secondary
#3A58D2
accent
#2EE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7DC70

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

Preview Lab → · Contrast checker → · Palette generator →

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