#F7E470#F7E470

#F7E470 is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 91.2% C 0.138 H 100.1°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#F7E470
RGBrgb(247, 228, 112)
HSLhsl(52, 89%, 70%)
HSVhsv(52, 55%, 97%)
CMYKcmyk(0%, 7.7%, 54.7%, 3.1%)
CIE-LABlab(90.06, -7.72, 58.08)
CIE-LCHlch(90.06, 58.59, 97.57°)
OKLaboklab(91.17% -0.0243 0.1358)
OKLCHoklch(91.17% 0.138 100.1)
XYZxyz(69.0282, 76.4335, 26.4432)
Luminance0.7643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E470 #7083F7
analogous
#F7A170 #F7E470 #C6F770
triadic
#F7E470 #70F7E4 #E470F7
tetradic
#F7E470 #70F7A1 #7083F7 #F770C6
square
#F7E470 #70F7A1 #7083F7 #F770C6
split-complementary
#F7E470 #70C6F7 #A170F7
monochromatic
#E0C20D #F4D936 #F7E470 #FAEFAA #FDFAE2

Accessibility & contrast

On white

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

On black

16.29
#F7E470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E470
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E470#FFFFFF#000000##000000
##F7E4701.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE65
Deuteranopia (green-blind)
#FCE675
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f7e470;
/* rgb */ color: rgb(247, 228, 112);
/* oklch */ color: oklch(91.2% 0.138 100.1);
Tailwind
colors: {
  custom: {
    50: '#fcec9c',
    500: '#f7e470',
    950: '#000000',
  },
}
SCSS
$custom: #f7e470;
$custom-light: #fcec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e470",
  "rgb": {
    "r": 247,
    "g": 228,
    "b": 112
  },
  "hsl": {
    "h": 51.556,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91167,
    "c": 0.13791,
    "h": 100.1
  },
  "luminance": 0.76431
}

Semantic roles & 50–950 ramp

primary
#F7E470
secondary
#3A4FD2
accent
#20E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E470

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

Preview Lab → · Contrast checker → · Palette generator →

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