#FFE178#FFE178

#FFE178 is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.4% C 0.129 H 93.7°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#FFE178
RGBrgb(255, 225, 120)
HSLhsl(47, 100%, 74%)
HSVhsv(47, 53%, 100%)
CMYKcmyk(0%, 11.8%, 52.9%, 0%)
CIE-LABlab(90.08, -2.37, 54.57)
CIE-LCHlch(90.08, 54.62, 92.49°)
OKLaboklab(91.37% -0.0084 0.1288)
OKLCHoklch(91.37% 0.129 93.7)
XYZxyz(71.5580, 76.4697, 28.7565)
Luminance0.7647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE178 #7896FF
analogous
#FF9D78 #FFE178 #D9FF78
triadic
#FFE178 #78FFE1 #E178FF
tetradic
#FFE178 #78FF9D #7896FF #FF78D9
square
#FFE178 #78FF9D #7896FF #FF78D9
split-complementary
#FFE178 #78D9FF #9D78FF
monochromatic
#FDC400 #FFD33B #FFE178 #FFEFB5 #FFF8E0

Accessibility & contrast

On white

1.29
#FFE178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#FFE178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE178
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE178#FFFFFF#000000##000000
##FFE1781.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6F
Deuteranopia (green-blind)
#FCE77C
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ffe178;
/* rgb */ color: rgb(255, 225, 120);
/* oklch */ color: oklch(91.4% 0.129 93.7);
Tailwind
colors: {
  custom: {
    50: '#ffeaa1',
    500: '#ffe178',
    950: '#000000',
  },
}
SCSS
$custom: #ffe178;
$custom-light: #ffeaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe178",
  "rgb": {
    "r": 255,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 46.667,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91371,
    "c": 0.12906,
    "h": 93.7
  },
  "luminance": 0.76466
}

Semantic roles & 50–950 ramp

primary
#FFE178
secondary
#3E61DD
accent
#33E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FFE178

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

Preview Lab → · Contrast checker → · Palette generator →

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