#FEC787#FEC787

#FEC787 is a very light, moderate orange. Relative luminance 0.637; OKLCH L 86.5% C 0.102 H 70.0°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#FEC787
RGBrgb(254, 199, 135)
HSLhsl(32, 98%, 76%)
HSVhsv(32, 47%, 100%)
CMYKcmyk(0%, 21.7%, 46.9%, 0.4%)
CIE-LABlab(83.79, 11.88, 39.44)
CIE-LCHlch(83.79, 41.19, 73.23°)
OKLaboklab(86.47% 0.0349 0.0961)
OKLCHoklch(86.47% 0.102 70)
XYZxyz(65.6724, 63.6708, 31.7476)
Luminance0.6367 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC787 #87BEFE
analogous
#FE8C87 #FEC787 #F9FE87
triadic
#FEC787 #87FEC7 #C787FE
tetradic
#FEC787 #87FE8C #87BEFE #FE87F9
square
#FEC787 #87FE8C #87BEFE #FE87F9
split-complementary
#FEC787 #87F9FE #8C87FE
monochromatic
#FD8E0E #FDAB4A #FEC787 #FFE3C4 #FFF1E1

Accessibility & contrast

On white

1.53
#FEC787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#FEC787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC787
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC787#FFFFFF#000000##000000
##FEC7871.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC982
Deuteranopia (green-blind)
#E7D688
Tritanopia (blue-blind)
#FFBAB7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #fec787;
/* rgb */ color: rgb(254, 199, 135);
/* oklch */ color: oklch(86.5% 0.102 70.0);
Tailwind
colors: {
  custom: {
    50: '#ffd8ab',
    500: '#fec787',
    950: '#000000',
  },
}
SCSS
$custom: #fec787;
$custom-light: #ffd8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fec787",
  "rgb": {
    "r": 254,
    "g": 199,
    "b": 135
  },
  "hsl": {
    "h": 32.269,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.86472,
    "c": 0.10228,
    "h": 70
  },
  "luminance": 0.63667
}

Semantic roles & 50–950 ramp

primary
#FEC787
secondary
#4B8FDE
accent
#6AE600
background
#FFFEFD
surface
#FFFBF7
border
#D7D4D0
text
#181410
muted
#868381

Preview Lab

Preview with #FEC787

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

Preview Lab → · Contrast checker → · Palette generator →

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