#F7E96C#F7E96C

#F7E96C is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.1% C 0.146 H 102.9°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#F7E96C
RGBrgb(247, 233, 108)
HSLhsl(54, 90%, 70%)
HSVhsv(54, 56%, 97%)
CMYKcmyk(0%, 5.7%, 56.3%, 3.1%)
CIE-LABlab(91.30, -10.51, 61.29)
CIE-LCHlch(91.30, 62.19, 99.73°)
OKLaboklab(92.14% -0.0327 0.1422)
OKLCHoklch(92.14% 0.146 102.9)
XYZxyz(70.2058, 79.1372, 25.7613)
Luminance0.7913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E96C #6C7AF7
analogous
#F7A46C #F7E96C #BFF76C
triadic
#F7E96C #6CF7E9 #E96CF7
tetradic
#F7E96C #6CF7A4 #6C7AF7 #F76CBF
square
#F7E96C #6CF7A4 #6C7AF7 #F76CBF
split-complementary
#F7E96C #6CBFF7 #A46CF7
monochromatic
#DDC80C #F4E032 #F7E96C #FAF2A6 #FDFAE0

Accessibility & contrast

On white

1.25
#F7E96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.83
#F7E96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E96C
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E96C#FFFFFF#000000##000000
##F7E96C1.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE25F
Deuteranopia (green-blind)
#FFE972
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e96c;
/* rgb */ color: rgb(247, 233, 108);
/* oklch */ color: oklch(92.1% 0.146 102.9);
Tailwind
colors: {
  custom: {
    50: '#fdef9a',
    500: '#f7e96c',
    950: '#000000',
  },
}
SCSS
$custom: #f7e96c;
$custom-light: #fdef9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e96c",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 108
  },
  "hsl": {
    "h": 53.957,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92135,
    "c": 0.14595,
    "h": 102.9
  },
  "luminance": 0.79135
}

Semantic roles & 50–950 ramp

primary
#F7E96C
secondary
#3646D1
accent
#17E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F7E96C

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

Preview Lab → · Contrast checker → · Palette generator →

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