#F7E178#F7E178

#F7E178 is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.7% C 0.128 H 97.7°. Best body text is #000000 at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#F7E178
RGBrgb(247, 225, 120)
HSLhsl(50, 89%, 72%)
HSVhsv(50, 51%, 97%)
CMYKcmyk(0%, 8.9%, 51.4%, 3.1%)
CIE-LABlab(89.39, -5.58, 53.58)
CIE-LCHlch(89.39, 53.87, 95.94°)
OKLaboklab(90.66% -0.0172 0.1268)
OKLCHoklch(90.66% 0.128 97.7)
XYZxyz(68.6754, 74.9834, 28.6214)
Luminance0.7498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E178 #788EF7
analogous
#F7A278 #F7E178 #CEF778
triadic
#F7E178 #78F7E1 #E178F7
tetradic
#F7E178 #78F7A2 #788EF7 #F778CE
square
#F7E178 #78F7A2 #788EF7 #F778CE
split-complementary
#F7E178 #78CEF7 #A278F7
monochromatic
#E7C10E #F4D43E #F7E178 #FAEEB2 #FDF9E2

Accessibility & contrast

On white

1.31
#F7E178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.00
#F7E178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E178
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E178#FFFFFF#000000##000000
##F7E1781.001.3116.0016.00
#FFFFFF1.311.0021.0021.00
#00000016.0021.001.001.00
##00000016.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6F
Deuteranopia (green-blind)
#F9E47D
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e178;
/* rgb */ color: rgb(247, 225, 120);
/* oklch */ color: oklch(90.7% 0.128 97.7);
Tailwind
colors: {
  custom: {
    50: '#fceaa1',
    500: '#f7e178',
    950: '#000000',
  },
}
SCSS
$custom: #f7e178;
$custom-light: #fceaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e178",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 49.606,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9066,
    "c": 0.12792,
    "h": 97.7
  },
  "luminance": 0.74981
}

Semantic roles & 50–950 ramp

primary
#F7E178
secondary
#415AD3
accent
#28E500
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E178

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

Preview Lab → · Contrast checker → · Palette generator →

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