#F7E981#F7E981

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

Color values

HEX#F7E981
RGBrgb(247, 233, 129)
HSLhsl(53, 88%, 74%)
HSVhsv(53, 48%, 97%)
CMYKcmyk(0%, 5.7%, 47.8%, 3.1%)
CIE-LABlab(91.52, -8.81, 51.90)
CIE-LCHlch(91.52, 52.64, 99.63°)
OKLaboklab(92.39% -0.0256 0.1238)
OKLCHoklch(92.39% 0.126 101.7)
XYZxyz(71.4611, 79.6393, 32.3723)
Luminance0.7964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E981 #818FF7
analogous
#F7AE81 #F7E981 #CAF781
triadic
#F7E981 #81F7E9 #E981F7
tetradic
#F7E981 #81F7AE #818FF7 #F781CA
square
#F7E981 #81F7AE #818FF7 #F781CA
split-complementary
#F7E981 #81CAF7 #AE81F7
monochromatic
#EED40F #F3DF47 #F7E981 #FBF3BB #FDFAE2

Accessibility & contrast

On white

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

On black

16.93
#F7E981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E981
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E981#FFFFFF#000000##000000
##F7E9811.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE378
Deuteranopia (green-blind)
#FEEA86
Tritanopia (blue-blind)
#FFDCD1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f7e981;
/* rgb */ color: rgb(247, 233, 129);
/* oklch */ color: oklch(92.4% 0.126 101.7);
Tailwind
colors: {
  custom: {
    50: '#fcefa7',
    500: '#f7e981',
    950: '#000000',
  },
}
SCSS
$custom: #f7e981;
$custom-light: #fcefa7;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e981",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 129
  },
  "hsl": {
    "h": 52.881,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92388,
    "c": 0.12642,
    "h": 101.7
  },
  "luminance": 0.79637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7E981

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

Preview Lab → · Contrast checker → · Palette generator →

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