#F7E16C#F7E16C

#F7E16C is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.5% C 0.139 H 98.8°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#F7E16C
RGBrgb(247, 225, 108)
HSLhsl(51, 90%, 70%)
HSVhsv(51, 56%, 97%)
CMYKcmyk(0%, 8.9%, 56.3%, 3.1%)
CIE-LABlab(89.26, -6.52, 58.97)
CIE-LCHlch(89.26, 59.33, 96.31°)
OKLaboklab(90.52% -0.0213 0.1373)
OKLCHoklch(90.52% 0.139 98.8)
XYZxyz(67.9923, 74.7101, 25.0235)
Luminance0.7471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E16C #6C82F7
analogous
#F79C6C #F7E16C #C7F76C
triadic
#F7E16C #6CF7E1 #E16CF7
tetradic
#F7E16C #6CF79C #6C82F7 #F76CC7
square
#F7E16C #6CF79C #6C82F7 #F76CC7
split-complementary
#F7E16C #6CC7F7 #9C6CF7
monochromatic
#DDBC0C #F4D532 #F7E16C #FAEDA6 #FDF9E0

Accessibility & contrast

On white

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

On black

15.94
#F7E16C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E16C
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E16C#FFFFFF#000000##000000
##F7E16C1.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC60
Deuteranopia (green-blind)
#FAE471
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f7e16c;
/* rgb */ color: rgb(247, 225, 108);
/* oklch */ color: oklch(90.5% 0.139 98.8);
Tailwind
colors: {
  custom: {
    50: '#fdea99',
    500: '#f7e16c',
    950: '#000000',
  },
}
SCSS
$custom: #f7e16c;
$custom-light: #fdea99;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e16c",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 108
  },
  "hsl": {
    "h": 50.504,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90517,
    "c": 0.13889,
    "h": 98.8
  },
  "luminance": 0.74707
}

Semantic roles & 50–950 ramp

primary
#F7E16C
secondary
#364FD1
accent
#24E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E16C

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

Preview Lab → · Contrast checker → · Palette generator →

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