#FFE77B#FFE77B

#FFE77B is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.6% C 0.131 H 97.1°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#FFE77B
RGBrgb(255, 231, 123)
HSLhsl(49, 100%, 74%)
HSVhsv(49, 52%, 100%)
CMYKcmyk(0%, 9.4%, 51.8%, 0%)
CIE-LABlab(91.62, -5.14, 55.00)
CIE-LCHlch(91.62, 55.24, 95.34°)
OKLaboklab(92.6% -0.0161 0.13)
OKLCHoklch(92.6% 0.131 97.1)
XYZxyz(73.3936, 79.8449, 30.2807)
Luminance0.7984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE77B #7B93FF
analogous
#FFA57B #FFE77B #D5FF7B
triadic
#FFE77B #7BFFE7 #E77BFF
tetradic
#FFE77B #7BFFA5 #7B93FF #FF7BD5
square
#FFE77B #7BFFA5 #7B93FF #FF7BD5
split-complementary
#FFE77B #7BD5FF #A57BFF
monochromatic
#FFD101 #FFDC3E #FFE77B #FFF2B8 #FFF9E0

Accessibility & contrast

On white

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

On black

16.97
#FFE77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE77B
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE77B#FFFFFF#000000##000000
##FFE77B1.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE271
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#FFD9CE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe77b;
/* rgb */ color: rgb(255, 231, 123);
/* oklch */ color: oklch(92.6% 0.131 97.1);
Tailwind
colors: {
  custom: {
    50: '#ffeea4',
    500: '#ffe77b',
    950: '#000000',
  },
}
SCSS
$custom: #ffe77b;
$custom-light: #ffeea4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe77b",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 123
  },
  "hsl": {
    "h": 49.091,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92598,
    "c": 0.13098,
    "h": 97.1
  },
  "luminance": 0.79842
}

Semantic roles & 50–950 ramp

primary
#FFE77B
secondary
#415DDD
accent
#2AE600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FFE77B

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

Preview Lab → · Contrast checker → · Palette generator →

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