#FFE187#FFE187

#FFE187 is a very light, moderate yellow. Relative luminance 0.769; OKLCH L 91.6% C 0.115 H 91.6°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#FFE187
RGBrgb(255, 225, 135)
HSLhsl(45, 100%, 76%)
HSVhsv(45, 47%, 100%)
CMYKcmyk(0%, 11.8%, 47.1%, 0%)
CIE-LABlab(90.26, -1.08, 47.61)
CIE-LCHlch(90.26, 47.62, 91.30°)
OKLaboklab(91.57% -0.0031 0.1146)
OKLCHoklch(91.57% 0.115 91.6)
XYZxyz(72.5407, 76.8628, 33.9319)
Luminance0.7686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE187 #87A5FF
analogous
#FFA587 #FFE187 #E1FF87
triadic
#FFE187 #87FFE1 #E187FF
tetradic
#FFE187 #87FFA5 #87A5FF #FF87E1
square
#FFE187 #87FFA5 #87A5FF #FF87E1
split-complementary
#FFE187 #87E1FF #A587FF
monochromatic
#FFC20D #FFD24A #FFE187 #FFF0C4 #FFF7E0

Accessibility & contrast

On white

1.28
#FFE187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#FFE187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE187
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE187#FFFFFF#000000##000000
##FFE1871.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE80
Deuteranopia (green-blind)
#FAE78A
Tritanopia (blue-blind)
#FFD4CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ffe187;
/* rgb */ color: rgb(255, 225, 135);
/* oklch */ color: oklch(91.6% 0.115 91.6);
Tailwind
colors: {
  custom: {
    50: '#ffeaab',
    500: '#ffe187',
    950: '#000000',
  },
}
SCSS
$custom: #ffe187;
$custom-light: #ffeaab;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe187",
  "rgb": {
    "r": 255,
    "g": 225,
    "b": 135
  },
  "hsl": {
    "h": 45,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.91573,
    "c": 0.11461,
    "h": 91.6
  },
  "luminance": 0.7686
}

Semantic roles & 50–950 ramp

primary
#FFE187
secondary
#4B70DF
accent
#39E600
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FFE187

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

Preview Lab → · Contrast checker → · Palette generator →

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