#FFE791#FFE791

#FFE791 is a very light, moderate yellow. Relative luminance 0.805; OKLCH L 92.9% C 0.109 H 94.3°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#FFE791
RGBrgb(255, 231, 145)
HSLhsl(47, 100%, 78%)
HSVhsv(47, 43%, 100%)
CMYKcmyk(0%, 9.4%, 43.1%, 0%)
CIE-LABlab(91.89, -3.15, 44.76)
CIE-LCHlch(91.89, 44.87, 94.03°)
OKLaboklab(92.91% -0.0082 0.1088)
OKLCHoklch(92.91% 0.109 94.3)
XYZxyz(74.9287, 80.4589, 38.3658)
Luminance0.8046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE791 #91A9FF
analogous
#FFB091 #FFE791 #E0FF91
triadic
#FFE791 #91FFE7 #E791FF
tetradic
#FFE791 #91FFB0 #91A9FF #FF91E0
square
#FFE791 #91FFB0 #91A9FF #FF91E0
split-complementary
#FFE791 #91E0FF #B091FF
monochromatic
#FFCC17 #FFDA54 #FFE791 #FFF4CE #FFF8E0

Accessibility & contrast

On white

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

On black

17.09
#FFE791 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE791
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE791#FFFFFF#000000##000000
##FFE7911.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E38A
Deuteranopia (green-blind)
#FEEB94
Tritanopia (blue-blind)
#FFDBD2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe791;
/* rgb */ color: rgb(255, 231, 145);
/* oklch */ color: oklch(92.9% 0.109 94.3);
Tailwind
colors: {
  custom: {
    50: '#ffeeb2',
    500: '#ffe791',
    950: '#000000',
  },
}
SCSS
$custom: #ffe791;
$custom-light: #ffeeb2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe791",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 145
  },
  "hsl": {
    "h": 46.909,
    "s": 100,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92905,
    "c": 0.10906,
    "h": 94.3
  },
  "luminance": 0.80456
}

Semantic roles & 50–950 ramp

primary
#FFE791
secondary
#5372E1
accent
#32E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFE791

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

Preview Lab → · Contrast checker → · Palette generator →

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