#F7E966#F7E966

#F7E966 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 92.1% C 0.151 H 103.2°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#F7E966
RGBrgb(247, 233, 102)
HSLhsl(54, 90%, 68%)
HSVhsv(54, 59%, 97%)
CMYKcmyk(0%, 5.7%, 58.7%, 3.1%)
CIE-LABlab(91.24, -10.93, 63.85)
CIE-LCHlch(91.24, 64.78, 99.71°)
OKLaboklab(92.07% -0.0346 0.147)
OKLCHoklch(92.07% 0.151 103.2)
XYZxyz(69.8974, 79.0138, 24.1371)
Luminance0.7901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E966 #6674F7
analogous
#F7A066 #F7E966 #BCF766
triadic
#F7E966 #66F7E9 #E966F7
tetradic
#F7E966 #66F7A0 #6674F7 #F766BC
square
#F7E966 #66F7A0 #6674F7 #F766BC
split-complementary
#F7E966 #66BCF7 #A066F7
monochromatic
#D7C40B #F4E12C #F7E966 #FAF1A0 #FDFADA

Accessibility & contrast

On white

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

On black

16.80
#F7E966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E966
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E966#FFFFFF#000000##000000
##F7E9661.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e966;
/* rgb */ color: rgb(247, 233, 102);
/* oklch */ color: oklch(92.1% 0.151 103.2);
Tailwind
colors: {
  custom: {
    50: '#fdef96',
    500: '#f7e966',
    950: '#000000',
  },
}
SCSS
$custom: #f7e966;
$custom-light: #fdef96;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e966",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 102
  },
  "hsl": {
    "h": 54.207,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.92073,
    "c": 0.15101,
    "h": 103.2
  },
  "luminance": 0.79011
}

Semantic roles & 50–950 ramp

primary
#F7E966
secondary
#3140D0
accent
#16E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F7E966

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

Preview Lab → · Contrast checker → · Palette generator →

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