#FEE271#FEE271

#FEE271 is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.4% C 0.136 H 95.6°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#FEE271
RGBrgb(254, 226, 113)
HSLhsl(48, 99%, 72%)
HSVhsv(48, 56%, 100%)
CMYKcmyk(0%, 11%, 55.5%, 0.4%)
CIE-LABlab(90.16, -3.82, 57.90)
CIE-LCHlch(90.16, 58.03, 93.77°)
OKLaboklab(91.4% -0.0133 0.1353)
OKLCHoklch(91.4% 0.136 95.6)
XYZxyz(71.0528, 76.6590, 26.6736)
Luminance0.7666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEE271 #718DFE
analogous
#FE9C71 #FEE271 #D4FE71
triadic
#FEE271 #71FEE2 #E271FE
tetradic
#FEE271 #71FE9C #718DFE #FE71D4
square
#FEE271 #71FE9C #718DFE #FE71D4
split-complementary
#FEE271 #71D4FE #9C71FE
monochromatic
#F3C302 #FED634 #FEE271 #FEEEAE #FFF9E1

Accessibility & contrast

On white

1.29
#FEE271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#FEE271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEE271
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEE271#FFFFFF#000000##000000
##FEE2711.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE66
Deuteranopia (green-blind)
#FDE776
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #fee271;
/* rgb */ color: rgb(254, 226, 113);
/* oklch */ color: oklch(91.4% 0.136 95.6);
Tailwind
colors: {
  custom: {
    50: '#ffea9d',
    500: '#fee271',
    950: '#000000',
  },
}
SCSS
$custom: #fee271;
$custom-light: #ffea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fee271",
  "rgb": {
    "r": 254,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 48.085,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91395,
    "c": 0.136,
    "h": 95.6
  },
  "luminance": 0.76656
}

Semantic roles & 50–950 ramp

primary
#FEE271
secondary
#3959DB
accent
#2EE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FEE271

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

Preview Lab → · Contrast checker → · Palette generator →

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