#F7E477#F7E477

#F7E477 is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 91.3% C 0.131 H 99.6°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#F7E477
RGBrgb(247, 228, 119)
HSLhsl(51, 89%, 72%)
HSVhsv(51, 52%, 97%)
CMYKcmyk(0%, 7.7%, 51.8%, 3.1%)
CIE-LABlab(90.14, -7.17, 54.94)
CIE-LCHlch(90.14, 55.41, 97.43°)
OKLaboklab(91.25% -0.0219 0.1296)
OKLCHoklch(91.25% 0.131 99.6)
XYZxyz(69.4332, 76.5955, 28.5762)
Luminance0.7659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E477 #778AF7
analogous
#F7A477 #F7E477 #CAF777
triadic
#F7E477 #77F7E4 #E477F7
tetradic
#F7E477 #77F7A4 #778AF7 #F777CA
square
#F7E477 #77F7A4 #778AF7 #F777CA
split-complementary
#F7E477 #77CAF7 #A477F7
monochromatic
#E6C60E #F4D93D #F7E477 #FAEFB1 #FDF9E2

Accessibility & contrast

On white

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

On black

16.32
#F7E477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E477
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E477#FFFFFF#000000##000000
##F7E4771.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF6D
Deuteranopia (green-blind)
#FBE67C
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f7e477;
/* rgb */ color: rgb(247, 228, 119);
/* oklch */ color: oklch(91.3% 0.131 99.6);
Tailwind
colors: {
  custom: {
    50: '#fceca1',
    500: '#f7e477',
    950: '#000000',
  },
}
SCSS
$custom: #f7e477;
$custom-light: #fceca1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e477",
  "rgb": {
    "r": 247,
    "g": 228,
    "b": 119
  },
  "hsl": {
    "h": 51.094,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.9125,
    "c": 0.13147,
    "h": 99.6
  },
  "luminance": 0.76593
}

Semantic roles & 50–950 ramp

primary
#F7E477
secondary
#4056D2
accent
#22E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E477

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

Preview Lab → · Contrast checker → · Palette generator →

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