#FFE278#FFE278

#FFE278 is a very light, vivid yellow. Relative luminance 0.770; OKLCH L 91.6% C 0.130 H 94.4°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#FFE278
RGBrgb(255, 226, 120)
HSLhsl(47, 100%, 74%)
HSVhsv(47, 53%, 100%)
CMYKcmyk(0%, 11.4%, 52.9%, 0%)
CIE-LABlab(90.33, -2.87, 54.87)
CIE-LCHlch(90.33, 54.95, 93.00°)
OKLaboklab(91.57% -0.0099 0.1294)
OKLCHoklch(91.57% 0.13 94.4)
XYZxyz(71.8292, 77.0120, 28.8469)
Luminance0.7701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE278 #7895FF
analogous
#FF9E78 #FFE278 #D8FF78
triadic
#FFE278 #78FFE2 #E278FF
tetradic
#FFE278 #78FF9E #7895FF #FF78D8
square
#FFE278 #78FF9E #7895FF #FF78D8
split-complementary
#FFE278 #78D8FF #9E78FF
monochromatic
#FDC600 #FFD53B #FFE278 #FFEFB5 #FFF8E0

Accessibility & contrast

On white

1.28
#FFE278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.40
#FFE278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE278
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE278#FFFFFF#000000##000000
##FFE2781.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6E
Deuteranopia (green-blind)
#FDE77C
Tritanopia (blue-blind)
#FFD4CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ffe278;
/* rgb */ color: rgb(255, 226, 120);
/* oklch */ color: oklch(91.6% 0.130 94.4);
Tailwind
colors: {
  custom: {
    50: '#ffeaa1',
    500: '#ffe278',
    950: '#000000',
  },
}
SCSS
$custom: #ffe278;
$custom-light: #ffeaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe278",
  "rgb": {
    "r": 255,
    "g": 226,
    "b": 120
  },
  "hsl": {
    "h": 47.111,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91569,
    "c": 0.12981,
    "h": 94.4
  },
  "luminance": 0.77009
}

Semantic roles & 50–950 ramp

primary
#FFE278
secondary
#3E60DD
accent
#31E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FFE278

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

Preview Lab → · Contrast checker → · Palette generator →

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