#FEE87B#FEE87B

#FEE87B is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.7% C 0.132 H 98.1°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#FEE87B
RGBrgb(254, 232, 123)
HSLhsl(50, 98%, 74%)
HSVhsv(50, 52%, 100%)
CMYKcmyk(0%, 8.7%, 51.6%, 0.4%)
CIE-LABlab(91.78, -6.04, 55.18)
CIE-LCHlch(91.78, 55.51, 96.25°)
OKLaboklab(92.71% -0.0187 0.1304)
OKLCHoklch(92.71% 0.132 98.1)
XYZxyz(73.3072, 80.2170, 30.3570)
Luminance0.8021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEE87B #7B91FE
analogous
#FEA77B #FEE87B #D2FE7B
triadic
#FEE87B #7BFEE8 #E87BFE
tetradic
#FEE87B #7BFEA7 #7B91FE #FE7BD2
square
#FEE87B #7BFEA7 #7B91FE #FE7BD2
split-complementary
#FEE87B #7BD2FE #A77BFE
monochromatic
#FDD302 #FEDD3E #FEE87B #FEF3B8 #FFFAE1

Accessibility & contrast

On white

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

On black

17.04
#FEE87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEE87B
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEE87B#FFFFFF#000000##000000
##FEE87B1.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE371
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fee87b;
/* rgb */ color: rgb(254, 232, 123);
/* oklch */ color: oklch(92.7% 0.132 98.1);
Tailwind
colors: {
  custom: {
    50: '#ffefa4',
    500: '#fee87b',
    950: '#000000',
  },
}
SCSS
$custom: #fee87b;
$custom-light: #ffefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#fee87b",
  "rgb": {
    "r": 254,
    "g": 232,
    "b": 123
  },
  "hsl": {
    "h": 49.924,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.9271,
    "c": 0.13172,
    "h": 98.1
  },
  "luminance": 0.80214
}

Semantic roles & 50–950 ramp

primary
#FEE87B
secondary
#415BDC
accent
#27E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FEE87B

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

Preview Lab → · Contrast checker → · Palette generator →

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