#F7DC82#F7DC82

#F7DC82 is a very light, moderate yellow. Relative luminance 0.726; OKLCH L 89.8% C 0.114 H 93.2°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#F7DC82
RGBrgb(247, 220, 130)
HSLhsl(46, 88%, 74%)
HSVhsv(46, 47%, 97%)
CMYKcmyk(0%, 10.9%, 47.4%, 3.1%)
CIE-LABlab(88.24, -2.18, 47.40)
CIE-LCHlch(88.24, 47.45, 92.63°)
OKLaboklab(89.8% -0.0064 0.1139)
OKLCHoklch(89.8% 0.114 93.2)
XYZxyz(67.9824, 72.5751, 31.5422)
Luminance0.7257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC82 #829DF7
analogous
#F7A282 #F7DC82 #D8F782
triadic
#F7DC82 #82F7DC #DC82F7
tetradic
#F7DC82 #82F7A2 #829DF7 #F782D8
square
#F7DC82 #82F7A2 #829DF7 #F782D8
split-complementary
#F7DC82 #82D8F7 #A282F7
monochromatic
#EFBC0F #F3CC48 #F7DC82 #FBECBC #FDF7E2

Accessibility & contrast

On white

1.35
#F7DC82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.51
#F7DC82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC82
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC82#FFFFFF#000000##000000
##F7DC821.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7dc82;
/* rgb */ color: rgb(247, 220, 130);
/* oklch */ color: oklch(89.8% 0.114 93.2);
Tailwind
colors: {
  custom: {
    50: '#fce6a8',
    500: '#f7dc82',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc82;
$custom-light: #fce6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc82",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 130
  },
  "hsl": {
    "h": 46.154,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.89797,
    "c": 0.11405,
    "h": 93.2
  },
  "luminance": 0.72572
}

Semantic roles & 50–950 ramp

primary
#F7DC82
secondary
#4969D4
accent
#35E501
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#181510
muted
#868480

Preview Lab

Preview with #F7DC82

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

Preview Lab → · Contrast checker → · Palette generator →

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