#FFE78B#FFE78B

#FFE78B is a very light, moderate yellow. Relative luminance 0.803; OKLCH L 92.8% C 0.115 H 95.2°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#FFE78B
RGBrgb(255, 231, 139)
HSLhsl(48, 100%, 77%)
HSVhsv(48, 45%, 100%)
CMYKcmyk(0%, 9.4%, 45.5%, 0%)
CIE-LABlab(91.81, -3.73, 47.59)
CIE-LCHlch(91.81, 47.74, 94.49°)
OKLaboklab(92.82% -0.0104 0.1148)
OKLCHoklch(92.82% 0.115 95.2)
XYZxyz(74.4782, 80.2787, 35.9933)
Luminance0.8028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE78B #8BA3FF
analogous
#FFAD8B #FFE78B #DDFF8B
triadic
#FFE78B #8BFFE7 #E78BFF
tetradic
#FFE78B #8BFFAD #8BA3FF #FF8BDD
square
#FFE78B #8BFFAD #8BA3FF #FF8BDD
split-complementary
#FFE78B #8BDDFF #AD8BFF
monochromatic
#FFCE11 #FFDA4E #FFE78B #FFF4C8 #FFF9E0

Accessibility & contrast

On white

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

On black

17.06
#FFE78B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE78B
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE78B#FFFFFF#000000##000000
##FFE78B1.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E384
Deuteranopia (green-blind)
#FFEB8F
Tritanopia (blue-blind)
#FFDAD1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe78b;
/* rgb */ color: rgb(255, 231, 139);
/* oklch */ color: oklch(92.8% 0.115 95.2);
Tailwind
colors: {
  custom: {
    50: '#ffeeae',
    500: '#ffe78b',
    950: '#000000',
  },
}
SCSS
$custom: #ffe78b;
$custom-light: #ffeeae;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe78b",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 139
  },
  "hsl": {
    "h": 47.586,
    "s": 100,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92815,
    "c": 0.11526,
    "h": 95.2
  },
  "luminance": 0.80276
}

Semantic roles & 50–950 ramp

primary
#FFE78B
secondary
#4E6CE0
accent
#2FE600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FFE78B

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

Preview Lab → · Contrast checker → · Palette generator →

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