#F7DC6B#F7DC6B

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

Color values

HEX#F7DC6B
RGBrgb(247, 220, 107)
HSLhsl(48, 90%, 69%)
HSVhsv(48, 57%, 97%)
CMYKcmyk(0%, 10.9%, 56.7%, 3.1%)
CIE-LABlab(87.98, -4.07, 57.96)
CIE-LCHlch(87.98, 58.10, 94.02°)
OKLaboklab(89.5% -0.0143 0.135)
OKLCHoklch(89.5% 0.136 96.1)
XYZxyz(66.6074, 72.0251, 24.3008)
Luminance0.7202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC6B #6B86F7
analogous
#F7966B #F7DC6B #CCF76B
triadic
#F7DC6B #6BF7DC #DC6BF7
tetradic
#F7DC6B #6BF796 #6B86F7 #F76BCC
square
#F7DC6B #6BF796 #6B86F7 #F76BCC
split-complementary
#F7DC6B #6BCCF7 #966BF7
monochromatic
#DCB40C #F4CE31 #F7DC6B #FAEAA5 #FDF7DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7DC6B#FFFFFF#000000##000000
##F7DC6B1.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)
#EFD860
Deuteranopia (green-blind)
#F6E070
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f7dc6b;
/* rgb */ color: rgb(247, 220, 107);
/* oklch */ color: oklch(89.5% 0.136 96.1);
Tailwind
colors: {
  custom: {
    50: '#fde699',
    500: '#f7dc6b',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc6b;
$custom-light: #fde699;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc6b",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 107
  },
  "hsl": {
    "h": 48.429,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89503,
    "c": 0.13573,
    "h": 96.1
  },
  "luminance": 0.72022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7DC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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