#F7E474#F7E474

#F7E474 is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.2% C 0.134 H 99.8°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#F7E474
RGBrgb(247, 228, 116)
HSLhsl(51, 89%, 71%)
HSVhsv(51, 53%, 97%)
CMYKcmyk(0%, 7.7%, 53%, 3.1%)
CIE-LABlab(90.10, -7.41, 56.30)
CIE-LCHlch(90.10, 56.78, 97.50°)
OKLaboklab(91.21% -0.023 0.1323)
OKLCHoklch(91.21% 0.134 99.8)
XYZxyz(69.2559, 76.5246, 27.6423)
Luminance0.7652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E474 #7487F7
analogous
#F7A274 #F7E474 #C8F774
triadic
#F7E474 #74F7E4 #E474F7
tetradic
#F7E474 #74F7A2 #7487F7 #F774C8
square
#F7E474 #74F7A2 #7487F7 #F774C8
split-complementary
#F7E474 #74C8F7 #A274F7
monochromatic
#E4C40D #F4D93A #F7E474 #FAEFAE #FDF9E2

Accessibility & contrast

On white

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

On black

16.30
#F7E474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E474
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E474#FFFFFF#000000##000000
##F7E4741.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE6A
Deuteranopia (green-blind)
#FCE679
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f7e474;
/* rgb */ color: rgb(247, 228, 116);
/* oklch */ color: oklch(91.2% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#fcec9f',
    500: '#f7e474',
    950: '#000000',
  },
}
SCSS
$custom: #f7e474;
$custom-light: #fcec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e474",
  "rgb": {
    "r": 247,
    "g": 228,
    "b": 116
  },
  "hsl": {
    "h": 51.298,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91214,
    "c": 0.13428,
    "h": 99.8
  },
  "luminance": 0.76522
}

Semantic roles & 50–950 ramp

primary
#F7E474
secondary
#3D53D2
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E474

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

Preview Lab → · Contrast checker → · Palette generator →

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