#F7DC6A#F7DC6A

#F7DC6A is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.5% C 0.137 H 96.2°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#F7DC6A
RGBrgb(247, 220, 106)
HSLhsl(49, 90%, 69%)
HSVhsv(49, 57%, 97%)
CMYKcmyk(0%, 10.9%, 57.1%, 3.1%)
CIE-LABlab(87.97, -4.15, 58.40)
CIE-LCHlch(87.97, 58.55, 94.06°)
OKLaboklab(89.49% -0.0147 0.1358)
OKLCHoklch(89.49% 0.137 96.2)
XYZxyz(66.5551, 72.0042, 24.0253)
Luminance0.7200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC6A #6A85F7
analogous
#F7966A #F7DC6A #CBF76A
triadic
#F7DC6A #6AF7DC #DC6AF7
tetradic
#F7DC6A #6AF796 #6A85F7 #F76ACB
square
#F7DC6A #6AF796 #6A85F7 #F76ACB
split-complementary
#F7DC6A #6ACBF7 #966AF7
monochromatic
#DBB30C #F4CE30 #F7DC6A #FAEAA4 #FDF7DE

Accessibility & contrast

On white

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

On black

15.40
#F7DC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC6A
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC6A#FFFFFF#000000##000000
##F7DC6A1.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7dc6a;
/* rgb */ color: rgb(247, 220, 106);
/* oklch */ color: oklch(89.5% 0.137 96.2);
Tailwind
colors: {
  custom: {
    50: '#fde698',
    500: '#f7dc6a',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc6a;
$custom-light: #fde698;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc6a",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 106
  },
  "hsl": {
    "h": 48.511,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89492,
    "c": 0.1366,
    "h": 96.2
  },
  "luminance": 0.72001
}

Semantic roles & 50–950 ramp

primary
#F7DC6A
secondary
#3452D1
accent
#2CE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7DC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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