#FFE87D#FFE87D

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

Color values

HEX#FFE87D
RGBrgb(255, 232, 125)
HSLhsl(49, 100%, 75%)
HSVhsv(49, 51%, 100%)
CMYKcmyk(0%, 9%, 51%, 0%)
CIE-LABlab(91.89, -5.48, 54.39)
CIE-LCHlch(91.89, 54.66, 95.75°)
OKLaboklab(92.82% -0.0169 0.1288)
OKLCHoklch(92.82% 0.13 97.5)
XYZxyz(73.8007, 80.4568, 31.0403)
Luminance0.8045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE87D #7D94FF
analogous
#FFA77D #FFE87D #D5FF7D
triadic
#FFE87D #7DFFE8 #E87DFF
tetradic
#FFE87D #7DFFA7 #7D94FF #FF7DD5
square
#FFE87D #7DFFA7 #7D94FF #FF7DD5
split-complementary
#FFE87D #7DD5FF #A77DFF
monochromatic
#FFD203 #FFDD40 #FFE87D #FFF3BA #FFFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE87D#FFFFFF#000000##000000
##FFE87D1.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)
#FAE373
Deuteranopia (green-blind)
#FFEB82
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe87d;
/* rgb */ color: rgb(255, 232, 125);
/* oklch */ color: oklch(92.8% 0.130 97.5);
Tailwind
colors: {
  custom: {
    50: '#ffefa5',
    500: '#ffe87d',
    950: '#000000',
  },
}
SCSS
$custom: #ffe87d;
$custom-light: #ffefa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe87d",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 125
  },
  "hsl": {
    "h": 49.385,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.92822,
    "c": 0.12992,
    "h": 97.5
  },
  "luminance": 0.80454
}

Semantic roles & 50–950 ramp

primary
#FFE87D
secondary
#425EDE
accent
#29E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE87D

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

Preview Lab → · Contrast checker → · Palette generator →

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