#F7E76C#F7E76C

#F7E76C is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.7% C 0.144 H 102.0°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#F7E76C
RGBrgb(247, 231, 108)
HSLhsl(53, 90%, 70%)
HSVhsv(53, 56%, 97%)
CMYKcmyk(0%, 6.5%, 56.3%, 3.1%)
CIE-LABlab(90.79, -9.52, 60.71)
CIE-LCHlch(90.79, 61.46, 98.91°)
OKLaboklab(91.73% -0.0299 0.141)
OKLCHoklch(91.73% 0.144 102)
XYZxyz(69.6429, 78.0113, 25.5737)
Luminance0.7801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E76C #6C7CF7
analogous
#F7A26C #F7E76C #C1F76C
triadic
#F7E76C #6CF7E7 #E76CF7
tetradic
#F7E76C #6CF7A2 #6C7CF7 #F76CC1
square
#F7E76C #6CF7A2 #6C7CF7 #F76CC1
split-complementary
#F7E76C #6CC1F7 #A26CF7
monochromatic
#DDC50C #F4DE32 #F7E76C #FAF0A6 #FDFAE0

Accessibility & contrast

On white

1.26
#F7E76C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.60
#F7E76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E76C
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E76C#FFFFFF#000000##000000
##F7E76C1.001.2616.6016.60
#FFFFFF1.261.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE15F
Deuteranopia (green-blind)
#FEE872
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f7e76c;
/* rgb */ color: rgb(247, 231, 108);
/* oklch */ color: oklch(91.7% 0.144 102.0);
Tailwind
colors: {
  custom: {
    50: '#fdee9a',
    500: '#f7e76c',
    950: '#000000',
  },
}
SCSS
$custom: #f7e76c;
$custom-light: #fdee9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e76c",
  "rgb": {
    "r": 247,
    "g": 231,
    "b": 108
  },
  "hsl": {
    "h": 53.094,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91729,
    "c": 0.14413,
    "h": 102
  },
  "luminance": 0.78009
}

Semantic roles & 50–950 ramp

primary
#F7E76C
secondary
#3648D1
accent
#1AE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E76C

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

Preview Lab → · Contrast checker → · Palette generator →

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