#F7E078#F7E078

#F7E078 is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 90.5% C 0.127 H 97.1°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#F7E078
RGBrgb(247, 224, 120)
HSLhsl(49, 89%, 72%)
HSVhsv(49, 51%, 97%)
CMYKcmyk(0%, 9.3%, 51.4%, 3.1%)
CIE-LABlab(89.13, -5.08, 53.28)
CIE-LCHlch(89.13, 53.52, 95.44°)
OKLaboklab(90.46% -0.0158 0.1261)
OKLCHoklch(90.46% 0.127 97.1)
XYZxyz(68.4059, 74.4443, 28.5316)
Luminance0.7444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E078 #788FF7
analogous
#F7A178 #F7E078 #CFF778
triadic
#F7E078 #78F7E0 #E078F7
tetradic
#F7E078 #78F7A1 #788FF7 #F778CF
square
#F7E078 #78F7A1 #788FF7 #F778CF
split-complementary
#F7E078 #78CFF7 #A178F7
monochromatic
#E7C00E #F4D33E #F7E078 #FAEDB2 #FDF8E2

Accessibility & contrast

On white

1.32
#F7E078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.89
#F7E078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E078
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E078#FFFFFF#000000##000000
##F7E0781.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB6F
Deuteranopia (green-blind)
#F8E37C
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f7e078;
/* rgb */ color: rgb(247, 224, 120);
/* oklch */ color: oklch(90.5% 0.127 97.1);
Tailwind
colors: {
  custom: {
    50: '#fce9a1',
    500: '#f7e078',
    950: '#000000',
  },
}
SCSS
$custom: #f7e078;
$custom-light: #fce9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e078",
  "rgb": {
    "r": 247,
    "g": 224,
    "b": 120
  },
  "hsl": {
    "h": 49.134,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9046,
    "c": 0.12707,
    "h": 97.1
  },
  "luminance": 0.74442
}

Semantic roles & 50–950 ramp

primary
#F7E078
secondary
#415BD3
accent
#2AE500
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E078

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

Preview Lab → · Contrast checker → · Palette generator →

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