#F7E16B#F7E16B

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

Color values

HEX#F7E16B
RGBrgb(247, 225, 107)
HSLhsl(51, 90%, 69%)
HSVhsv(51, 57%, 97%)
CMYKcmyk(0%, 8.9%, 56.7%, 3.1%)
CIE-LABlab(89.25, -6.59, 59.41)
CIE-LCHlch(89.25, 59.78, 96.33°)
OKLaboklab(90.51% -0.0216 0.1381)
OKLCHoklch(90.51% 0.14 98.9)
XYZxyz(67.9394, 74.6889, 24.7448)
Luminance0.7469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E16B #6B81F7
analogous
#F79B6B #F7E16B #C7F76B
triadic
#F7E16B #6BF7E1 #E16BF7
tetradic
#F7E16B #6BF79B #6B81F7 #F76BC7
square
#F7E16B #6BF79B #6B81F7 #F76BC7
split-complementary
#F7E16B #6BC7F7 #9B6BF7
monochromatic
#DCBB0C #F4D531 #F7E16B #FAEDA5 #FDF9DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7E16B#FFFFFF#000000##000000
##F7E16B1.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)
#F4DC5F
Deuteranopia (green-blind)
#FAE471
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f7e16b;
/* rgb */ color: rgb(247, 225, 107);
/* oklch */ color: oklch(90.5% 0.140 98.9);
Tailwind
colors: {
  custom: {
    50: '#fdea99',
    500: '#f7e16b',
    950: '#000000',
  },
}
SCSS
$custom: #f7e16b;
$custom-light: #fdea99;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e16b",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 107
  },
  "hsl": {
    "h": 50.571,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90506,
    "c": 0.13976,
    "h": 98.9
  },
  "luminance": 0.74686
}

Semantic roles & 50–950 ramp

primary
#F7E16B
secondary
#354ED1
accent
#24E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E16B

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

Preview Lab → · Contrast checker → · Palette generator →

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