#F7E166#F7E166

#F7E166 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.5% C 0.144 H 99.3°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#F7E166
RGBrgb(247, 225, 102)
HSLhsl(51, 90%, 68%)
HSVhsv(51, 59%, 97%)
CMYKcmyk(0%, 8.9%, 58.7%, 3.1%)
CIE-LABlab(89.20, -6.95, 61.58)
CIE-LCHlch(89.20, 61.97, 96.44°)
OKLaboklab(90.45% -0.0232 0.1422)
OKLCHoklch(90.45% 0.144 99.3)
XYZxyz(67.6839, 74.5867, 23.3993)
Luminance0.7458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E166 #667CF7
analogous
#F79866 #F7E166 #C4F766
triadic
#F7E166 #66F7E1 #E166F7
tetradic
#F7E166 #66F798 #667CF7 #F766C4
square
#F7E166 #66F798 #667CF7 #F766C4
split-complementary
#F7E166 #66C4F7 #9866F7
monochromatic
#D7B80B #F4D62C #F7E166 #FAECA0 #FDF8DA

Accessibility & contrast

On white

1.32
#F7E166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#F7E166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E166
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E166#FFFFFF#000000##000000
##F7E1661.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB59
Deuteranopia (green-blind)
#FAE46C
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f7e166;
/* rgb */ color: rgb(247, 225, 102);
/* oklch */ color: oklch(90.5% 0.144 99.3);
Tailwind
colors: {
  custom: {
    50: '#fdea96',
    500: '#f7e166',
    950: '#000000',
  },
}
SCSS
$custom: #f7e166;
$custom-light: #fdea96;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e166",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 50.897,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90452,
    "c": 0.14402,
    "h": 99.3
  },
  "luminance": 0.74584
}

Semantic roles & 50–950 ramp

primary
#F7E166
secondary
#3149D0
accent
#23E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E166

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

Preview Lab → · Contrast checker → · Palette generator →

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