#F7E46C#F7E46C

#F7E46C is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.1% C 0.141 H 100.4°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#F7E46C
RGBrgb(247, 228, 108)
HSLhsl(52, 90%, 70%)
HSVhsv(52, 56%, 97%)
CMYKcmyk(0%, 7.7%, 56.3%, 3.1%)
CIE-LABlab(90.02, -8.02, 59.84)
CIE-LCHlch(90.02, 60.38, 97.63°)
OKLaboklab(91.12% -0.0256 0.1391)
OKLCHoklch(91.12% 0.141 100.4)
XYZxyz(68.8104, 76.3464, 25.2962)
Luminance0.7634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E46C #6C7FF7
analogous
#F79F6C #F7E46C #C4F76C
triadic
#F7E46C #6CF7E4 #E46CF7
tetradic
#F7E46C #6CF79F #6C7FF7 #F76CC4
square
#F7E46C #6CF79F #6C7FF7 #F76CC4
split-complementary
#F7E46C #6CC4F7 #9F6CF7
monochromatic
#DDC00C #F4D932 #F7E46C #FAEFA6 #FDF9E0

Accessibility & contrast

On white

1.29
#F7E46C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#F7E46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E46C
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E46C#FFFFFF#000000##000000
##F7E46C1.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE60
Deuteranopia (green-blind)
#FCE672
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f7e46c;
/* rgb */ color: rgb(247, 228, 108);
/* oklch */ color: oklch(91.1% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#fdec9a',
    500: '#f7e46c',
    950: '#000000',
  },
}
SCSS
$custom: #f7e46c;
$custom-light: #fdec9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e46c",
  "rgb": {
    "r": 247,
    "g": 228,
    "b": 108
  },
  "hsl": {
    "h": 51.799,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91122,
    "c": 0.14146,
    "h": 100.4
  },
  "luminance": 0.76344
}

Semantic roles & 50–950 ramp

primary
#F7E46C
secondary
#364BD1
accent
#1FE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E46C

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

Preview Lab → · Contrast checker → · Palette generator →

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