#FECC7E#FECC7E

#FECC7E is a very light, moderate orange. Relative luminance 0.658; OKLCH L 87.3% C 0.111 H 77.6°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#FECC7E
RGBrgb(254, 204, 126)
HSLhsl(37, 98%, 75%)
HSVhsv(37, 50%, 100%)
CMYKcmyk(0%, 19.7%, 50.4%, 0.4%)
CIE-LABlab(84.88, 8.47, 45.34)
CIE-LCHlch(84.88, 46.12, 79.42°)
OKLaboklab(87.28% 0.0239 0.1089)
OKLCHoklch(87.28% 0.111 77.6)
XYZxyz(66.2347, 65.7667, 28.9402)
Luminance0.6576 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FECC7E #7EB0FE
analogous
#FE8C7E #FECC7E #F0FE7E
triadic
#FECC7E #7EFECC #CC7EFE
tetradic
#FECC7E #7EFE8C #7EB0FE #FE7EF0
square
#FECC7E #7EFE8C #7EB0FE #FE7EF0
split-complementary
#FECC7E #7EF0FE #8C7EFE
monochromatic
#FD9C05 #FEB441 #FECC7E #FEE4BB #FFF3E1

Accessibility & contrast

On white

1.48
#FECC7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#FECC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FECC7E
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FECC7E#FFFFFF#000000##000000
##FECC7E1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD78
Deuteranopia (green-blind)
#ECD980
Tritanopia (blue-blind)
#FFBEB9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #fecc7e;
/* rgb */ color: rgb(254, 204, 126);
/* oklch */ color: oklch(87.3% 0.111 77.6);
Tailwind
colors: {
  custom: {
    50: '#ffdba5',
    500: '#fecc7e',
    950: '#000000',
  },
}
SCSS
$custom: #fecc7e;
$custom-light: #ffdba5;
$custom-dark: #000000;
JSON
{
  "hex": "#fecc7e",
  "rgb": {
    "r": 254,
    "g": 204,
    "b": 126
  },
  "hsl": {
    "h": 36.563,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.8728,
    "c": 0.11149,
    "h": 77.6
  },
  "luminance": 0.65763
}

Semantic roles & 50–950 ramp

primary
#FECC7E
secondary
#447FDD
accent
#5AE600
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#18150F
muted
#868480

Preview Lab

Preview with #FECC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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