#FFE79C#FFE79C

#FFE79C is a very light, moderate yellow. Relative luminance 0.808; OKLCH L 93.1% C 0.097 H 92.4°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#FFE79C
RGBrgb(255, 231, 156)
HSLhsl(45, 100%, 81%)
HSVhsv(45, 39%, 100%)
CMYKcmyk(0%, 9.4%, 38.8%, 0%)
CIE-LABlab(92.05, -2.02, 39.50)
CIE-LCHlch(92.05, 39.55, 92.92°)
OKLaboklab(93.08% -0.004 0.0972)
OKLCHoklch(93.08% 0.097 92.4)
XYZxyz(75.8183, 80.8148, 43.0511)
Luminance0.8081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE79C #9CB4FF
analogous
#FFB59C #FFE79C #E5FF9C
triadic
#FFE79C #9CFFE7 #E79CFF
tetradic
#FFE79C #9CFFB5 #9CB4FF #FF9CE5
square
#FFE79C #9CFFB5 #9CB4FF #FF9CE5
split-complementary
#FFE79C #9CE5FF #B59CFF
monochromatic
#FFC922 #FFD85F #FFE79C #FFF6D9 #FFF8E0

Accessibility & contrast

On white

1.22
#FFE79C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.16
#FFE79C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE79C
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE79C#FFFFFF#000000##000000
##FFE79C1.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E497
Deuteranopia (green-blind)
#FDEB9F
Tritanopia (blue-blind)
#FFDCD4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe79c;
/* rgb */ color: rgb(255, 231, 156);
/* oklch */ color: oklch(93.1% 0.097 92.4);
Tailwind
colors: {
  custom: {
    50: '#ffeeba',
    500: '#ffe79c',
    950: '#000000',
  },
}
SCSS
$custom: #ffe79c;
$custom-light: #ffeeba;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe79c",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 156
  },
  "hsl": {
    "h": 45.455,
    "s": 100,
    "l": 80.588
  },
  "oklch": {
    "l": 0.93082,
    "c": 0.09731,
    "h": 92.4
  },
  "luminance": 0.80812
}

Semantic roles & 50–950 ramp

primary
#FFE79C
secondary
#5D7DE2
accent
#38E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFE79C

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

Preview Lab → · Contrast checker → · Palette generator →

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