#F7D96B#F7D96B

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

Color values

HEX#F7D96B
RGBrgb(247, 217, 107)
HSLhsl(47, 90%, 69%)
HSVhsv(47, 57%, 97%)
CMYKcmyk(0%, 12.1%, 56.7%, 3.1%)
CIE-LABlab(87.22, -2.56, 57.09)
CIE-LCHlch(87.22, 57.15, 92.56°)
OKLaboklab(88.91% -0.0099 0.1331)
OKLCHoklch(88.91% 0.133 94.3)
XYZxyz(65.8271, 70.4645, 24.0407)
Luminance0.7046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D96B #6B89F7
analogous
#F7936B #F7D96B #CFF76B
triadic
#F7D96B #6BF7D9 #D96BF7
tetradic
#F7D96B #6BF793 #6B89F7 #F76BCF
square
#F7D96B #6BF793 #6B89F7 #F76BCF
split-complementary
#F7D96B #6BCFF7 #936BF7
monochromatic
#DCAF0C #F4CA31 #F7D96B #FAE8A5 #FDF7DF

Accessibility & contrast

On white

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

On black

15.09
#F7D96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D96B
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D96B#FFFFFF#000000##000000
##F7D96B1.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD560
Deuteranopia (green-blind)
#F4DE70
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f7d96b;
/* rgb */ color: rgb(247, 217, 107);
/* oklch */ color: oklch(88.9% 0.133 94.3);
Tailwind
colors: {
  custom: {
    50: '#fde498',
    500: '#f7d96b',
    950: '#000000',
  },
}
SCSS
$custom: #f7d96b;
$custom-light: #fde498;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d96b",
  "rgb": {
    "r": 247,
    "g": 217,
    "b": 107
  },
  "hsl": {
    "h": 47.143,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88905,
    "c": 0.13346,
    "h": 94.3
  },
  "luminance": 0.70461
}

Semantic roles & 50–950 ramp

primary
#F7D96B
secondary
#3557D1
accent
#31E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D96B

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

Preview Lab → · Contrast checker → · Palette generator →

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