#F7E781#F7E781

#F7E781 is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 92.0% C 0.125 H 100.5°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#F7E781
RGBrgb(247, 231, 129)
HSLhsl(52, 88%, 74%)
HSVhsv(52, 48%, 97%)
CMYKcmyk(0%, 6.5%, 47.8%, 3.1%)
CIE-LABlab(91.01, -7.81, 51.28)
CIE-LCHlch(91.01, 51.87, 98.66°)
OKLaboklab(91.98% -0.0227 0.1224)
OKLCHoklch(91.98% 0.125 100.5)
XYZxyz(70.8981, 78.5134, 32.1846)
Luminance0.7851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E781 #8191F7
analogous
#F7AC81 #F7E781 #CCF781
triadic
#F7E781 #81F7E7 #E781F7
tetradic
#F7E781 #81F7AC #8191F7 #F781CC
square
#F7E781 #81F7AC #8191F7 #F781CC
split-complementary
#F7E781 #81CCF7 #AC81F7
monochromatic
#EED00F #F3DC47 #F7E781 #FBF2BB #FDFAE2

Accessibility & contrast

On white

1.26
#F7E781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#F7E781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E781
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E781#FFFFFF#000000##000000
##F7E7811.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E178
Deuteranopia (green-blind)
#FDE885
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f7e781;
/* rgb */ color: rgb(247, 231, 129);
/* oklch */ color: oklch(92.0% 0.125 100.5);
Tailwind
colors: {
  custom: {
    50: '#fceea7',
    500: '#f7e781',
    950: '#000000',
  },
}
SCSS
$custom: #f7e781;
$custom-light: #fceea7;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e781",
  "rgb": {
    "r": 247,
    "g": 231,
    "b": 129
  },
  "hsl": {
    "h": 51.864,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91984,
    "c": 0.12452,
    "h": 100.5
  },
  "luminance": 0.78511
}

Semantic roles & 50–950 ramp

primary
#F7E781
secondary
#495BD4
accent
#20E501
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F7E781

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

Preview Lab → · Contrast checker → · Palette generator →

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