#FFE87F#FFE87F

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

Color values

HEX#FFE87F
RGBrgb(255, 232, 127)
HSLhsl(49, 100%, 75%)
HSVhsv(49, 50%, 100%)
CMYKcmyk(0%, 9%, 50.2%, 0%)
CIE-LABlab(91.91, -5.31, 53.47)
CIE-LCHlch(91.91, 53.74, 95.67°)
OKLaboklab(92.85% -0.0162 0.127)
OKLCHoklch(92.85% 0.128 97.3)
XYZxyz(73.9298, 80.5084, 31.7200)
Luminance0.8051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE87F #7F96FF
analogous
#FFA87F #FFE87F #D6FF7F
triadic
#FFE87F #7FFFE8 #E87FFF
tetradic
#FFE87F #7FFFA8 #7F96FF #FF7FD6
square
#FFE87F #7FFFA8 #7F96FF #FF7FD6
split-complementary
#FFE87F #7FD6FF #A87FFF
monochromatic
#FFD205 #FFDD42 #FFE87F #FFF3BC #FFFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE87F#FFFFFF#000000##000000
##FFE87F1.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)
#FAE376
Deuteranopia (green-blind)
#FFEB83
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe87f;
/* rgb */ color: rgb(255, 232, 127);
/* oklch */ color: oklch(92.8% 0.128 97.3);
Tailwind
colors: {
  custom: {
    50: '#ffefa6',
    500: '#ffe87f',
    950: '#000000',
  },
}
SCSS
$custom: #ffe87f;
$custom-light: #ffefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe87f",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 49.219,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92848,
    "c": 0.12801,
    "h": 97.3
  },
  "luminance": 0.80506
}

Semantic roles & 50–950 ramp

primary
#FFE87F
secondary
#4460DE
accent
#29E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE87F

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

Preview Lab → · Contrast checker → · Palette generator →

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