#FFE87A#FFE87A

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

Color values

HEX#FFE87A
RGBrgb(255, 232, 122)
HSLhsl(50, 100%, 74%)
HSVhsv(50, 52%, 100%)
CMYKcmyk(0%, 9%, 52.2%, 0%)
CIE-LABlab(91.86, -5.73, 55.75)
CIE-LCHlch(91.86, 56.04, 95.86°)
OKLaboklab(92.79% -0.0179 0.1315)
OKLCHoklch(92.79% 0.133 97.8)
XYZxyz(73.6120, 80.3813, 30.0462)
Luminance0.8038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE87A #7A91FF
analogous
#FFA67A #FFE87A #D4FF7A
triadic
#FFE87A #7AFFE8 #E87AFF
tetradic
#FFE87A #7AFFA6 #7A91FF #FF7AD4
square
#FFE87A #7AFFA6 #7A91FF #FF7AD4
split-complementary
#FFE87A #7AD4FF #A67AFF
monochromatic
#FFD300 #FFDD3D #FFE87A #FFF3B7 #FFFAE0

Accessibility & contrast

On white

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

On black

17.08
#FFE87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE87A
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE87A#FFFFFF#000000##000000
##FFE87A1.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE370
Deuteranopia (green-blind)
#FFEB7F
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe87a;
/* rgb */ color: rgb(255, 232, 122);
/* oklch */ color: oklch(92.8% 0.133 97.8);
Tailwind
colors: {
  custom: {
    50: '#ffefa3',
    500: '#ffe87a',
    950: '#000000',
  },
}
SCSS
$custom: #ffe87a;
$custom-light: #ffefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe87a",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 122
  },
  "hsl": {
    "h": 49.624,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92785,
    "c": 0.13276,
    "h": 97.8
  },
  "luminance": 0.80378
}

Semantic roles & 50–950 ramp

primary
#FFE87A
secondary
#405BDD
accent
#28E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE87A

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

Preview Lab → · Contrast checker → · Palette generator →

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