#FFE87B#FFE87B

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

Color values

HEX#FFE87B
RGBrgb(255, 232, 123)
HSLhsl(50, 100%, 74%)
HSVhsv(50, 52%, 100%)
CMYKcmyk(0%, 9%, 51.8%, 0%)
CIE-LABlab(91.87, -5.64, 55.30)
CIE-LCHlch(91.87, 55.58, 95.83°)
OKLaboklab(92.8% -0.0176 0.1306)
OKLCHoklch(92.8% 0.132 97.7)
XYZxyz(73.6742, 80.4062, 30.3742)
Luminance0.8040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE87B #7B92FF
analogous
#FFA67B #FFE87B #D4FF7B
triadic
#FFE87B #7BFFE8 #E87BFF
tetradic
#FFE87B #7BFFA6 #7B92FF #FF7BD4
square
#FFE87B #7BFFA6 #7B92FF #FF7BD4
split-complementary
#FFE87B #7BD4FF #A67BFF
monochromatic
#FFD301 #FFDD3E #FFE87B #FFF3B8 #FFFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE87B#FFFFFF#000000##000000
##FFE87B1.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)
#FBE371
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe87b;
/* rgb */ color: rgb(255, 232, 123);
/* oklch */ color: oklch(92.8% 0.132 97.7);
Tailwind
colors: {
  custom: {
    50: '#ffefa4',
    500: '#ffe87b',
    950: '#000000',
  },
}
SCSS
$custom: #ffe87b;
$custom-light: #ffefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe87b",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 123
  },
  "hsl": {
    "h": 49.545,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92797,
    "c": 0.13182,
    "h": 97.7
  },
  "luminance": 0.80403
}

Semantic roles & 50–950 ramp

primary
#FFE87B
secondary
#415CDD
accent
#28E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE87B

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

Preview Lab → · Contrast checker → · Palette generator →

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