#FECC7F#FECC7F

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

Color values

HEX#FECC7F
RGBrgb(254, 204, 127)
HSLhsl(36, 98%, 75%)
HSVhsv(36, 50%, 100%)
CMYKcmyk(0%, 19.7%, 50%, 0.4%)
CIE-LABlab(84.89, 8.56, 44.85)
CIE-LCHlch(84.89, 45.66, 79.20°)
OKLaboklab(87.3% 0.0243 0.1079)
OKLCHoklch(87.3% 0.111 77.3)
XYZxyz(66.2995, 65.7927, 29.2817)
Luminance0.6579 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FECC7F #7FB1FE
analogous
#FE8D7F #FECC7F #F1FE7F
triadic
#FECC7F #7FFECC #CC7FFE
tetradic
#FECC7F #7FFE8D #7FB1FE #FE7FF1
square
#FECC7F #7FFE8D #7FB1FE #FE7FF1
split-complementary
#FECC7F #7FF1FE #8D7FFE
monochromatic
#FD9C06 #FEB442 #FECC7F #FEE4BC #FFF3E1

Accessibility & contrast

On white

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

On black

14.16
#FECC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FECC7F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FECC7F#FFFFFF#000000##000000
##FECC7F1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fecc7f;
/* rgb */ color: rgb(254, 204, 127);
/* oklch */ color: oklch(87.3% 0.111 77.3);
Tailwind
colors: {
  custom: {
    50: '#ffdba5',
    500: '#fecc7f',
    950: '#000000',
  },
}
SCSS
$custom: #fecc7f;
$custom-light: #ffdba5;
$custom-dark: #000000;
JSON
{
  "hex": "#fecc7f",
  "rgb": {
    "r": 254,
    "g": 204,
    "b": 127
  },
  "hsl": {
    "h": 36.378,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.87295,
    "c": 0.11058,
    "h": 77.3
  },
  "luminance": 0.65789
}

Semantic roles & 50–950 ramp

primary
#FECC7F
secondary
#4580DD
accent
#5AE600
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#18150F
muted
#868480

Preview Lab

Preview with #FECC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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