#FEC871#FEC871

#FEC871 is a very light, vivid orange. Relative luminance 0.636; OKLCH L 86.3% C 0.122 H 77.9°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#FEC871
RGBrgb(254, 200, 113)
HSLhsl(37, 99%, 72%)
HSVhsv(37, 56%, 100%)
CMYKcmyk(0%, 21.3%, 55.5%, 0.4%)
CIE-LABlab(83.74, 9.48, 50.34)
CIE-LCHlch(83.74, 51.22, 79.34°)
OKLaboklab(86.34% 0.0254 0.1189)
OKLCHoklch(86.34% 0.122 77.9)
XYZxyz(64.5111, 63.5757, 24.4931)
Luminance0.6357 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC871 #71A7FE
analogous
#FE8271 #FEC871 #EEFE71
triadic
#FEC871 #71FEC8 #C871FE
tetradic
#FEC871 #71FE82 #71A7FE #FE71EE
square
#FEC871 #71FE82 #71A7FE #FE71EE
split-complementary
#FEC871 #71EEFE #8271FE
monochromatic
#F39702 #FEB034 #FEC871 #FEE0AE #FFF3E1

Accessibility & contrast

On white

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

On black

13.71
#FEC871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC871
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC871#FFFFFF#000000##000000
##FEC8711.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC969
Deuteranopia (green-blind)
#EAD674
Tritanopia (blue-blind)
#FFB9B4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #fec871;
/* rgb */ color: rgb(254, 200, 113);
/* oklch */ color: oklch(86.3% 0.122 77.9);
Tailwind
colors: {
  custom: {
    50: '#ffd89c',
    500: '#fec871',
    950: '#000000',
  },
}
SCSS
$custom: #fec871;
$custom-light: #ffd89c;
$custom-dark: #000000;
JSON
{
  "hex": "#fec871",
  "rgb": {
    "r": 254,
    "g": 200,
    "b": 113
  },
  "hsl": {
    "h": 37.021,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.86339,
    "c": 0.12157,
    "h": 77.9
  },
  "luminance": 0.63572
}

Semantic roles & 50–950 ramp

primary
#FEC871
secondary
#3977DB
accent
#58E600
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #FEC871

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

Preview Lab → · Contrast checker → · Palette generator →

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