#F7DF6C#F7DF6C

#F7DF6C is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.1% C 0.137 H 97.7°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#F7DF6C
RGBrgb(247, 223, 108)
HSLhsl(50, 90%, 70%)
HSVhsv(50, 56%, 97%)
CMYKcmyk(0%, 9.7%, 56.3%, 3.1%)
CIE-LABlab(88.75, -5.51, 58.39)
CIE-LCHlch(88.75, 58.65, 95.40°)
OKLaboklab(90.12% -0.0184 0.136)
OKLCHoklch(90.12% 0.137 97.7)
XYZxyz(67.4548, 73.6351, 24.8443)
Luminance0.7363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF6C #6C84F7
analogous
#F7996C #F7DF6C #CAF76C
triadic
#F7DF6C #6CF7DF #DF6CF7
tetradic
#F7DF6C #6CF799 #6C84F7 #F76CCA
square
#F7DF6C #6CF799 #6C84F7 #F76CCA
split-complementary
#F7DF6C #6CCAF7 #996CF7
monochromatic
#DDB90C #F4D232 #F7DF6C #FAECA6 #FDF8E0

Accessibility & contrast

On white

1.34
#F7DF6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.73
#F7DF6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF6C
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF6C#FFFFFF#000000##000000
##F7DF6C1.001.3415.7315.73
#FFFFFF1.341.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA61
Deuteranopia (green-blind)
#F8E271
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f7df6c;
/* rgb */ color: rgb(247, 223, 108);
/* oklch */ color: oklch(90.1% 0.137 97.7);
Tailwind
colors: {
  custom: {
    50: '#fde899',
    500: '#f7df6c',
    950: '#000000',
  },
}
SCSS
$custom: #f7df6c;
$custom-light: #fde899;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df6c",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 108
  },
  "hsl": {
    "h": 49.64,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90115,
    "c": 0.13724,
    "h": 97.7
  },
  "luminance": 0.73632
}

Semantic roles & 50–950 ramp

primary
#F7DF6C
secondary
#3651D1
accent
#28E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7DF6C

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

Preview Lab → · Contrast checker → · Palette generator →

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