#F7E980#F7E980

#F7E980 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 92.4% C 0.127 H 101.8°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#F7E980
RGBrgb(247, 233, 128)
HSLhsl(53, 88%, 74%)
HSVhsv(53, 48%, 97%)
CMYKcmyk(0%, 5.7%, 48.2%, 3.1%)
CIE-LABlab(91.51, -8.90, 52.36)
CIE-LCHlch(91.51, 53.11, 99.64°)
OKLaboklab(92.37% -0.026 0.1247)
OKLCHoklch(92.37% 0.127 101.8)
XYZxyz(71.3949, 79.6128, 32.0239)
Luminance0.7961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E980 #808EF7
analogous
#F7AD80 #F7E980 #C9F780
triadic
#F7E980 #80F7E9 #E980F7
tetradic
#F7E980 #80F7AD #808EF7 #F780C9
square
#F7E980 #80F7AD #808EF7 #F780C9
split-complementary
#F7E980 #80C9F7 #AD80F7
monochromatic
#EED30F #F3DF46 #F7E980 #FBF3BA #FDFAE2

Accessibility & contrast

On white

1.24
#F7E980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#F7E980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E980
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E980#FFFFFF#000000##000000
##F7E9801.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE377
Deuteranopia (green-blind)
#FEE985
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f7e980;
/* rgb */ color: rgb(247, 233, 128);
/* oklch */ color: oklch(92.4% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#fcefa7',
    500: '#f7e980',
    950: '#000000',
  },
}
SCSS
$custom: #f7e980;
$custom-light: #fcefa7;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e980",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 128
  },
  "hsl": {
    "h": 52.941,
    "s": 88.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92374,
    "c": 0.12741,
    "h": 101.8
  },
  "luminance": 0.7961
}

Semantic roles & 50–950 ramp

primary
#F7E980
secondary
#4858D4
accent
#1CE501
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #F7E980

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

Preview Lab → · Contrast checker → · Palette generator →

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