#F7E475#F7E475

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

Color values

HEX#F7E475
RGBrgb(247, 228, 117)
HSLhsl(51, 89%, 71%)
HSVhsv(51, 53%, 97%)
CMYKcmyk(0%, 7.7%, 52.6%, 3.1%)
CIE-LABlab(90.11, -7.33, 55.85)
CIE-LCHlch(90.11, 56.32, 97.48°)
OKLaboklab(91.23% -0.0226 0.1314)
OKLCHoklch(91.23% 0.133 99.8)
XYZxyz(69.3143, 76.5479, 27.9503)
Luminance0.7654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E475 #7588F7
analogous
#F7A375 #F7E475 #C9F775
triadic
#F7E475 #75F7E4 #E475F7
tetradic
#F7E475 #75F7A3 #7588F7 #F775C9
square
#F7E475 #75F7A3 #7588F7 #F775C9
split-complementary
#F7E475 #75C9F7 #A375F7
monochromatic
#E4C50D #F4D93B #F7E475 #FAEFAF #FDF9E2

Accessibility & contrast

On white

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

On black

16.31
#F7E475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E475
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E475#FFFFFF#000000##000000
##F7E4751.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE6B
Deuteranopia (green-blind)
#FBE67A
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f7e475;
/* rgb */ color: rgb(247, 228, 117);
/* oklch */ color: oklch(91.2% 0.133 99.8);
Tailwind
colors: {
  custom: {
    50: '#fcec9f',
    500: '#f7e475',
    950: '#000000',
  },
}
SCSS
$custom: #f7e475;
$custom-light: #fcec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e475",
  "rgb": {
    "r": 247,
    "g": 228,
    "b": 117
  },
  "hsl": {
    "h": 51.231,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91226,
    "c": 0.13335,
    "h": 99.8
  },
  "luminance": 0.76545
}

Semantic roles & 50–950 ramp

primary
#F7E475
secondary
#3E54D2
accent
#22E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E475

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

Preview Lab → · Contrast checker → · Palette generator →

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