#FEE28C#FEE28C

#FEE28C is a very light, moderate yellow. Relative luminance 0.774; OKLCH L 91.8% C 0.110 H 92.0°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#FEE28C
RGBrgb(254, 226, 140)
HSLhsl(45, 98%, 77%)
HSVhsv(45, 45%, 100%)
CMYKcmyk(0%, 11%, 44.9%, 0.4%)
CIE-LABlab(90.49, -1.51, 45.43)
CIE-LCHlch(90.49, 45.45, 91.90°)
OKLaboklab(91.75% -0.0038 0.11)
OKLCHoklch(91.75% 0.11 92)
XYZxyz(72.8052, 77.3599, 35.9028)
Luminance0.7736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEE28C #8CA8FE
analogous
#FEA98C #FEE28C #E1FE8C
triadic
#FEE28C #8CFEE2 #E28CFE
tetradic
#FEE28C #8CFEA9 #8CA8FE #FE8CE1
square
#FEE28C #8CFEA9 #8CA8FE #FE8CE1
split-complementary
#FEE28C #8CE1FE #A98CFE
monochromatic
#FDC313 #FDD34F #FEE28C #FFF1C9 #FFF7E1

Accessibility & contrast

On white

1.27
#FEE28C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#FEE28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEE28C
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEE28C#FFFFFF#000000##000000
##FEE28C1.001.2716.4716.47
#FFFFFF1.271.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DF85
Deuteranopia (green-blind)
#FAE78F
Tritanopia (blue-blind)
#FFD5CD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fee28c;
/* rgb */ color: rgb(254, 226, 140);
/* oklch */ color: oklch(91.8% 0.110 92.0);
Tailwind
colors: {
  custom: {
    50: '#ffeaaf',
    500: '#fee28c',
    950: '#000000',
  },
}
SCSS
$custom: #fee28c;
$custom-light: #ffeaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#fee28c",
  "rgb": {
    "r": 254,
    "g": 226,
    "b": 140
  },
  "hsl": {
    "h": 45.263,
    "s": 98.276,
    "l": 77.255
  },
  "oklch": {
    "l": 0.91754,
    "c": 0.11006,
    "h": 92
  },
  "luminance": 0.77357
}

Semantic roles & 50–950 ramp

primary
#FEE28C
secondary
#5073DF
accent
#38E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FEE28C

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

Preview Lab → · Contrast checker → · Palette generator →

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