#FFE87C#FFE87C

#FFE87C is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.8% C 0.131 H 97.6°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#FFE87C
RGBrgb(255, 232, 124)
HSLhsl(49, 100%, 74%)
HSVhsv(49, 51%, 100%)
CMYKcmyk(0%, 9%, 51.4%, 0%)
CIE-LABlab(91.88, -5.56, 54.84)
CIE-LCHlch(91.88, 55.12, 95.79°)
OKLaboklab(92.81% -0.0172 0.1297)
OKLCHoklch(92.81% 0.131 97.6)
XYZxyz(73.7372, 80.4314, 30.7056)
Luminance0.8043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE87C #7C93FF
analogous
#FFA77C #FFE87C #D4FF7C
triadic
#FFE87C #7CFFE8 #E87CFF
tetradic
#FFE87C #7CFFA7 #7C93FF #FF7CD4
square
#FFE87C #7CFFA7 #7C93FF #FF7CD4
split-complementary
#FFE87C #7CD4FF #A77CFF
monochromatic
#FFD302 #FFDD3F #FFE87C #FFF3B9 #FFFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE87C#FFFFFF#000000##000000
##FFE87C1.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)
#FBE372
Deuteranopia (green-blind)
#FFEB81
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe87c;
/* rgb */ color: rgb(255, 232, 124);
/* oklch */ color: oklch(92.8% 0.131 97.6);
Tailwind
colors: {
  custom: {
    50: '#ffefa4',
    500: '#ffe87c',
    950: '#000000',
  },
}
SCSS
$custom: #ffe87c;
$custom-light: #ffefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe87c",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 124
  },
  "hsl": {
    "h": 49.466,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.9281,
    "c": 0.13087,
    "h": 97.6
  },
  "luminance": 0.80428
}

Semantic roles & 50–950 ramp

primary
#FFE87C
secondary
#425DDE
accent
#28E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE87C

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

Preview Lab → · Contrast checker → · Palette generator →

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