#F7E481#F7E481

#F7E481 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.4% C 0.122 H 98.7°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#F7E481
RGBrgb(247, 228, 129)
HSLhsl(50, 88%, 74%)
HSVhsv(50, 48%, 97%)
CMYKcmyk(0%, 7.7%, 47.8%, 3.1%)
CIE-LABlab(90.25, -6.31, 50.35)
CIE-LCHlch(90.25, 50.74, 97.14°)
OKLaboklab(91.38% -0.0184 0.1204)
OKLCHoklch(91.38% 0.122 98.7)
XYZxyz(70.0656, 76.8485, 31.9071)
Luminance0.7685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E481 #8194F7
analogous
#F7A981 #F7E481 #CFF781
triadic
#F7E481 #81F7E4 #E481F7
tetradic
#F7E481 #81F7A9 #8194F7 #F781CF
square
#F7E481 #81F7A9 #8194F7 #F781CF
split-complementary
#F7E481 #81CFF7 #A981F7
monochromatic
#EECA0F #F3D847 #F7E481 #FBF0BB #FDF9E2

Accessibility & contrast

On white

1.28
#F7E481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#F7E481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E481
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E481#FFFFFF#000000##000000
##F7E4811.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DF79
Deuteranopia (green-blind)
#FAE685
Tritanopia (blue-blind)
#FFD7CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f7e481;
/* rgb */ color: rgb(247, 228, 129);
/* oklch */ color: oklch(91.4% 0.122 98.7);
Tailwind
colors: {
  custom: {
    50: '#fceca7',
    500: '#f7e481',
    950: '#000000',
  },
}
SCSS
$custom: #f7e481;
$custom-light: #fceca7;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e481",
  "rgb": {
    "r": 247,
    "g": 228,
    "b": 129
  },
  "hsl": {
    "h": 50.339,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91381,
    "c": 0.12176,
    "h": 98.7
  },
  "luminance": 0.76846
}

Semantic roles & 50–950 ramp

primary
#F7E481
secondary
#495FD4
accent
#26E501
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F7E481

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

Preview Lab → · Contrast checker → · Palette generator →

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