#FFE77F#FFE77F

#FFE77F is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 92.6% C 0.127 H 96.7°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#FFE77F
RGBrgb(255, 231, 127)
HSLhsl(49, 100%, 75%)
HSVhsv(49, 50%, 100%)
CMYKcmyk(0%, 9.4%, 50.2%, 0%)
CIE-LABlab(91.66, -4.81, 53.17)
CIE-LCHlch(91.66, 53.39, 95.17°)
OKLaboklab(92.65% -0.0147 0.1263)
OKLCHoklch(92.65% 0.127 96.7)
XYZxyz(73.6491, 79.9471, 31.6264)
Luminance0.7994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE77F #7F97FF
analogous
#FFA77F #FFE77F #D7FF7F
triadic
#FFE77F #7FFFE7 #E77FFF
tetradic
#FFE77F #7FFFA7 #7F97FF #FF7FD7
square
#FFE77F #7FFFA7 #7F97FF #FF7FD7
split-complementary
#FFE77F #7FD7FF #A77FFF
monochromatic
#FFD005 #FFDC42 #FFE77F #FFF2BC #FFF9E0

Accessibility & contrast

On white

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

On black

16.99
#FFE77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE77F
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE77F#FFFFFF#000000##000000
##FFE77F1.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E276
Deuteranopia (green-blind)
#FFEB83
Tritanopia (blue-blind)
#FFD9CF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe77f;
/* rgb */ color: rgb(255, 231, 127);
/* oklch */ color: oklch(92.6% 0.127 96.7);
Tailwind
colors: {
  custom: {
    50: '#ffeea6',
    500: '#ffe77f',
    950: '#000000',
  },
}
SCSS
$custom: #ffe77f;
$custom-light: #ffeea6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe77f",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 127
  },
  "hsl": {
    "h": 48.75,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92649,
    "c": 0.12718,
    "h": 96.7
  },
  "luminance": 0.79944
}

Semantic roles & 50–950 ramp

primary
#FFE77F
secondary
#4461DE
accent
#2BE600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FFE77F

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

Preview Lab → · Contrast checker → · Palette generator →

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