#FFE87E#FFE87E

#FFE87E is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.8% C 0.129 H 97.4°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#FFE87E
RGBrgb(255, 232, 126)
HSLhsl(49, 100%, 75%)
HSVhsv(49, 51%, 100%)
CMYKcmyk(0%, 9%, 50.6%, 0%)
CIE-LABlab(91.90, -5.39, 53.93)
CIE-LCHlch(91.90, 54.20, 95.71°)
OKLaboklab(92.84% -0.0165 0.1279)
OKLCHoklch(92.84% 0.129 97.4)
XYZxyz(73.8649, 80.4825, 31.3785)
Luminance0.8048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE87E #7E95FF
analogous
#FFA77E #FFE87E #D6FF7E
triadic
#FFE87E #7EFFE8 #E87EFF
tetradic
#FFE87E #7EFFA7 #7E95FF #FF7ED6
square
#FFE87E #7EFFA7 #7E95FF #FF7ED6
split-complementary
#FFE87E #7ED6FF #A77EFF
monochromatic
#FFD204 #FFDD41 #FFE87E #FFF3BB #FFFAE0

Accessibility & contrast

On white

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

On black

17.10
#FFE87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE87E
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE87E#FFFFFF#000000##000000
##FFE87E1.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffe87e;
/* rgb */ color: rgb(255, 232, 126);
/* oklch */ color: oklch(92.8% 0.129 97.4);
Tailwind
colors: {
  custom: {
    50: '#ffefa6',
    500: '#ffe87e',
    950: '#000000',
  },
}
SCSS
$custom: #ffe87e;
$custom-light: #ffefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe87e",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 126
  },
  "hsl": {
    "h": 49.302,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92835,
    "c": 0.12897,
    "h": 97.4
  },
  "luminance": 0.8048
}

Semantic roles & 50–950 ramp

primary
#FFE87E
secondary
#435FDE
accent
#29E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE87E

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

Preview Lab → · Contrast checker → · Palette generator →

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