#FEE7A2#FEE7A2

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

Color values

HEX#FEE7A2
RGBrgb(254, 231, 162)
HSLhsl(45, 98%, 82%)
HSVhsv(45, 36%, 100%)
CMYKcmyk(0%, 9.1%, 36.2%, 0.4%)
CIE-LABlab(92.06, -1.74, 36.48)
CIE-LCHlch(92.06, 36.52, 92.73°)
OKLaboklab(93.1% -0.0028 0.0904)
OKLCHoklch(93.1% 0.09 91.8)
XYZxyz(75.9720, 80.8338, 45.7760)
Luminance0.8083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEE7A2 #A2B9FE
analogous
#FEB9A2 #FEE7A2 #E7FEA2
triadic
#FEE7A2 #A2FEE7 #E7A2FE
tetradic
#FEE7A2 #A2FEB9 #A2B9FE #FEA2E7
square
#FEE7A2 #A2FEB9 #A2B9FE #FEA2E7
split-complementary
#FEE7A2 #A2E7FE #B9A2FE
monochromatic
#FDC829 #FDD765 #FEE7A2 #FFF7DF #FFF7E1

Accessibility & contrast

On white

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

On black

17.17
#FEE7A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEE7A2
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEE7A2#FFFFFF#000000##000000
##FEE7A21.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E49D
Deuteranopia (green-blind)
#FCEBA4
Tritanopia (blue-blind)
#FFDDD5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fee7a2;
/* rgb */ color: rgb(254, 231, 162);
/* oklch */ color: oklch(93.1% 0.090 91.8);
Tailwind
colors: {
  custom: {
    50: '#ffeebe',
    500: '#fee7a2',
    950: '#000000',
  },
}
SCSS
$custom: #fee7a2;
$custom-light: #ffeebe;
$custom-dark: #000000;
JSON
{
  "hex": "#fee7a2",
  "rgb": {
    "r": 254,
    "g": 231,
    "b": 162
  },
  "hsl": {
    "h": 45,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.93099,
    "c": 0.09047,
    "h": 91.8
  },
  "luminance": 0.80831
}

Semantic roles & 50–950 ramp

primary
#FEE7A2
secondary
#6282E2
accent
#39E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181612
muted
#868582

Preview Lab

Preview with #FEE7A2

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

Preview Lab → · Contrast checker → · Palette generator →

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