#FFE487#FFE487

#FFE487 is a very light, moderate yellow. Relative luminance 0.785; OKLCH L 92.2% C 0.117 H 93.7°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#FFE487
RGBrgb(255, 228, 135)
HSLhsl(47, 100%, 76%)
HSVhsv(47, 47%, 100%)
CMYKcmyk(0%, 10.6%, 47.1%, 0%)
CIE-LABlab(91.01, -2.60, 48.54)
CIE-LCHlch(91.01, 48.61, 93.06°)
OKLaboklab(92.16% -0.0075 0.1167)
OKLCHoklch(92.16% 0.117 93.7)
XYZxyz(73.3588, 78.4991, 34.2046)
Luminance0.7850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE487 #87A2FF
analogous
#FFA887 #FFE487 #DEFF87
triadic
#FFE487 #87FFE4 #E487FF
tetradic
#FFE487 #87FFA8 #87A2FF #FF87DE
square
#FFE487 #87FFA8 #87A2FF #FF87DE
split-complementary
#FFE487 #87DEFF #A887FF
monochromatic
#FFC80D #FFD64A #FFE487 #FFF2C4 #FFF8E0

Accessibility & contrast

On white

1.26
#FFE487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#FFE487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE487
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE487#FFFFFF#000000##000000
##FFE4871.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E07F
Deuteranopia (green-blind)
#FDE98B
Tritanopia (blue-blind)
#FFD7CE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ffe487;
/* rgb */ color: rgb(255, 228, 135);
/* oklch */ color: oklch(92.2% 0.117 93.7);
Tailwind
colors: {
  custom: {
    50: '#ffecab',
    500: '#ffe487',
    950: '#000000',
  },
}
SCSS
$custom: #ffe487;
$custom-light: #ffecab;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe487",
  "rgb": {
    "r": 255,
    "g": 228,
    "b": 135
  },
  "hsl": {
    "h": 46.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92164,
    "c": 0.11689,
    "h": 93.7
  },
  "luminance": 0.78496
}

Semantic roles & 50–950 ramp

primary
#FFE487
secondary
#4B6CDF
accent
#34E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FFE487

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

Preview Lab → · Contrast checker → · Palette generator →

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