#FFF77E#FFF77E

#FFF77E is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.9% C 0.143 H 105.4°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#FFF77E
RGBrgb(255, 247, 126)
HSLhsl(56, 100%, 75%)
HSVhsv(56, 51%, 100%)
CMYKcmyk(0%, 3.1%, 50.6%, 0%)
CIE-LABlab(95.70, -12.82, 58.45)
CIE-LCHlch(95.70, 59.84, 102.37°)
OKLaboklab(95.85% -0.0379 0.1378)
OKLCHoklch(95.85% 0.143 105.4)
XYZxyz(78.2688, 89.2902, 32.8464)
Luminance0.8929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF77E #7E86FF
analogous
#FFB77E #FFF77E #C7FF7E
triadic
#FFF77E #7EFFF7 #F77EFF
tetradic
#FFF77E #7EFFB7 #7E86FF #FF7EC7
square
#FFF77E #7EFFB7 #7E86FF #FF7EC7
split-complementary
#FFF77E #7EC7FF #B77EFF
monochromatic
#FFEF04 #FFF341 #FFF77E #FFFBBB #FFFDE0

Accessibility & contrast

On white

1.11
#FFF77E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.86
#FFF77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF77E
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF77E#FFFFFF#000000##000000
##FFF77E1.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF73
Deuteranopia (green-blind)
#FFF584
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff77e;
/* rgb */ color: rgb(255, 247, 126);
/* oklch */ color: oklch(95.9% 0.143 105.4);
Tailwind
colors: {
  custom: {
    50: '#fff9a6',
    500: '#fff77e',
    950: '#000000',
  },
}
SCSS
$custom: #fff77e;
$custom-light: #fff9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fff77e",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 126
  },
  "hsl": {
    "h": 56.279,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.9585,
    "c": 0.1429,
    "h": 105.4
  },
  "luminance": 0.89288
}

Semantic roles & 50–950 ramp

primary
#FFF77E
secondary
#434DDE
accent
#0EE600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FFF77E

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

Preview Lab → · Contrast checker → · Palette generator →

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