#F7D96E#F7D96E

#F7D96E is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.9% C 0.131 H 93.9°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#F7D96E
RGBrgb(247, 217, 110)
HSLhsl(47, 90%, 70%)
HSVhsv(47, 55%, 97%)
CMYKcmyk(0%, 12.1%, 55.5%, 3.1%)
CIE-LABlab(87.26, -2.33, 55.74)
CIE-LCHlch(87.26, 55.79, 92.39°)
OKLaboklab(88.94% -0.009 0.1305)
OKLCHoklch(88.94% 0.131 93.9)
XYZxyz(65.9877, 70.5287, 24.8864)
Luminance0.7053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D96E #6E8CF7
analogous
#F7946E #F7D96E #D1F76E
triadic
#F7D96E #6EF7D9 #D96EF7
tetradic
#F7D96E #6EF794 #6E8CF7 #F76ED1
square
#F7D96E #6EF794 #6E8CF7 #F76ED1
split-complementary
#F7D96E #6ED1F7 #946EF7
monochromatic
#DEB00C #F4CA34 #F7D96E #FAE8A8 #FDF7E2

Accessibility & contrast

On white

1.39
#F7D96E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.11
#F7D96E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D96E
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D96E#FFFFFF#000000##000000
##F7D96E1.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD564
Deuteranopia (green-blind)
#F4DF73
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f7d96e;
/* rgb */ color: rgb(247, 217, 110);
/* oklch */ color: oklch(88.9% 0.131 93.9);
Tailwind
colors: {
  custom: {
    50: '#fde49a',
    500: '#f7d96e',
    950: '#000000',
  },
}
SCSS
$custom: #f7d96e;
$custom-light: #fde49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d96e",
  "rgb": {
    "r": 247,
    "g": 217,
    "b": 110
  },
  "hsl": {
    "h": 46.861,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.8894,
    "c": 0.13081,
    "h": 93.9
  },
  "luminance": 0.70526
}

Semantic roles & 50–950 ramp

primary
#F7D96E
secondary
#3859D1
accent
#32E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D96E

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

Preview Lab → · Contrast checker → · Palette generator →

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