#FFE78E#FFE78E

#FFE78E is a very light, moderate yellow. Relative luminance 0.804; OKLCH L 92.9% C 0.112 H 94.8°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#FFE78E
RGBrgb(255, 231, 142)
HSLhsl(47, 100%, 78%)
HSVhsv(47, 44%, 100%)
CMYKcmyk(0%, 9.4%, 44.3%, 0%)
CIE-LABlab(91.85, -3.45, 46.18)
CIE-LCHlch(91.85, 46.31, 94.27°)
OKLaboklab(92.86% -0.0093 0.1118)
OKLCHoklch(92.86% 0.112 94.8)
XYZxyz(74.7004, 80.3676, 37.1636)
Luminance0.8036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE78E #8EA6FF
analogous
#FFAF8E #FFE78E #DEFF8E
triadic
#FFE78E #8EFFE7 #E78EFF
tetradic
#FFE78E #8EFFAF #8EA6FF #FF8EDE
square
#FFE78E #8EFFAF #8EA6FF #FF8EDE
split-complementary
#FFE78E #8EDEFF #AF8EFF
monochromatic
#FFCD14 #FFDA51 #FFE78E #FFF4CB #FFF9E0

Accessibility & contrast

On white

1.23
#FFE78E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.07
#FFE78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE78E
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE78E#FFFFFF#000000##000000
##FFE78E1.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E387
Deuteranopia (green-blind)
#FEEB91
Tritanopia (blue-blind)
#FFDBD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe78e;
/* rgb */ color: rgb(255, 231, 142);
/* oklch */ color: oklch(92.9% 0.112 94.8);
Tailwind
colors: {
  custom: {
    50: '#ffeeb0',
    500: '#ffe78e',
    950: '#000000',
  },
}
SCSS
$custom: #ffe78e;
$custom-light: #ffeeb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe78e",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 142
  },
  "hsl": {
    "h": 47.257,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.92859,
    "c": 0.11218,
    "h": 94.8
  },
  "luminance": 0.80365
}

Semantic roles & 50–950 ramp

primary
#FFE78E
secondary
#516FE0
accent
#31E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181611
muted
#868581

Preview Lab

Preview with #FFE78E

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

Preview Lab → · Contrast checker → · Palette generator →

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