#F7E164#F7E164

#F7E164 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.4% C 0.146 H 99.4°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#F7E164
RGBrgb(247, 225, 100)
HSLhsl(51, 90%, 68%)
HSVhsv(51, 60%, 97%)
CMYKcmyk(0%, 8.9%, 59.5%, 3.1%)
CIE-LABlab(89.18, -7.08, 62.44)
CIE-LCHlch(89.18, 62.84, 96.47°)
OKLaboklab(90.43% -0.0238 0.1437)
OKLCHoklch(90.43% 0.146 99.4)
XYZxyz(67.5859, 74.5475, 22.8832)
Luminance0.7454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E164 #647AF7
analogous
#F79764 #F7E164 #C4F764
triadic
#F7E164 #64F7E1 #E164F7
tetradic
#F7E164 #64F797 #647AF7 #F764C4
square
#F7E164 #64F797 #647AF7 #F764C4
split-complementary
#F7E164 #64C4F7 #9764F7
monochromatic
#D6B70B #F4D62A #F7E164 #FAEC9E #FDF8D8

Accessibility & contrast

On white

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

On black

15.91
#F7E164 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E164
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E164#FFFFFF#000000##000000
##F7E1641.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e164;
/* rgb */ color: rgb(247, 225, 100);
/* oklch */ color: oklch(90.4% 0.146 99.4);
Tailwind
colors: {
  custom: {
    50: '#fdea94',
    500: '#f7e164',
    950: '#000000',
  },
}
SCSS
$custom: #f7e164;
$custom-light: #fdea94;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e164",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 100
  },
  "hsl": {
    "h": 51.02,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.90432,
    "c": 0.14568,
    "h": 99.4
  },
  "luminance": 0.74545
}

Semantic roles & 50–950 ramp

primary
#F7E164
secondary
#2F47D0
accent
#22E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160D
muted
#86847F

Preview Lab

Preview with #F7E164

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

Preview Lab → · Contrast checker → · Palette generator →

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