#FFE477#FFE477

#FFE477 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 92.0% C 0.132 H 95.7°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#FFE477
RGBrgb(255, 228, 119)
HSLhsl(48, 100%, 73%)
HSVhsv(48, 53%, 100%)
CMYKcmyk(0%, 10.6%, 53.3%, 0%)
CIE-LABlab(90.82, -3.96, 55.92)
CIE-LCHlch(90.82, 56.06, 94.05°)
OKLaboklab(91.95% -0.0131 0.1316)
OKLCHoklch(91.95% 0.132 95.7)
XYZxyz(72.3158, 78.0818, 28.7113)
Luminance0.7808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE477 #7792FF
analogous
#FFA077 #FFE477 #D6FF77
triadic
#FFE477 #77FFE4 #E477FF
tetradic
#FFE477 #77FFA0 #7792FF #FF77D6
square
#FFE477 #77FFA0 #7792FF #FF77D6
split-complementary
#FFE477 #77D6FF #A077FF
monochromatic
#FCCA00 #FFD83A #FFE477 #FFF0B4 #FFF9E0

Accessibility & contrast

On white

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

On black

16.62
#FFE477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE477
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE477#FFFFFF#000000##000000
##FFE4771.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E06D
Deuteranopia (green-blind)
#FEE87C
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ffe477;
/* rgb */ color: rgb(255, 228, 119);
/* oklch */ color: oklch(92.0% 0.132 95.7);
Tailwind
colors: {
  custom: {
    50: '#ffeca1',
    500: '#ffe477',
    950: '#000000',
  },
}
SCSS
$custom: #ffe477;
$custom-light: #ffeca1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe477",
  "rgb": {
    "r": 255,
    "g": 228,
    "b": 119
  },
  "hsl": {
    "h": 48.088,
    "s": 100,
    "l": 73.333
  },
  "oklch": {
    "l": 0.91952,
    "c": 0.13228,
    "h": 95.7
  },
  "luminance": 0.78079
}

Semantic roles & 50–950 ramp

primary
#FFE477
secondary
#3D5DDD
accent
#2EE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FFE477

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

Preview Lab → · Contrast checker → · Palette generator →

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