#F7D96F#F7D96F

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

Color values

HEX#F7D96F
RGBrgb(247, 217, 111)
HSLhsl(47, 89%, 70%)
HSVhsv(47, 55%, 97%)
CMYKcmyk(0%, 12.1%, 55.1%, 3.1%)
CIE-LABlab(87.27, -2.25, 55.29)
CIE-LCHlch(87.27, 55.34, 92.33°)
OKLaboklab(88.95% -0.0086 0.1296)
OKLCHoklch(88.95% 0.13 93.8)
XYZxyz(66.0425, 70.5506, 25.1748)
Luminance0.7055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D96F #6F8DF7
analogous
#F7956F #F7D96F #D1F76F
triadic
#F7D96F #6FF7D9 #D96FF7
tetradic
#F7D96F #6FF795 #6F8DF7 #F76FD1
square
#F7D96F #6FF795 #6F8DF7 #F76FD1
split-complementary
#F7D96F #6FD1F7 #956FF7
monochromatic
#DFB10C #F4CA35 #F7D96F #FAE8A9 #FDF7E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7D96F#FFFFFF#000000##000000
##F7D96F1.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)
#ECD565
Deuteranopia (green-blind)
#F4DF73
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f7d96f;
/* rgb */ color: rgb(247, 217, 111);
/* oklch */ color: oklch(89.0% 0.130 93.8);
Tailwind
colors: {
  custom: {
    50: '#fde49b',
    500: '#f7d96f',
    950: '#000000',
  },
}
SCSS
$custom: #f7d96f;
$custom-light: #fde49b;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d96f",
  "rgb": {
    "r": 247,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 46.765,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88952,
    "c": 0.12991,
    "h": 93.8
  },
  "luminance": 0.70548
}

Semantic roles & 50–950 ramp

primary
#F7D96F
secondary
#395AD1
accent
#33E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D96F

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

Preview Lab → · Contrast checker → · Palette generator →

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