#FECC4F#FECC4F

#FECC4F is a very light, vivid orange. Relative luminance 0.648; OKLCH L 86.7% C 0.149 H 86.6°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#FECC4F
RGBrgb(254, 204, 79)
HSLhsl(43, 99%, 65%)
HSVhsv(43, 69%, 100%)
CMYKcmyk(0%, 19.7%, 68.9%, 0.4%)
CIE-LABlab(84.39, 5.24, 66.37)
CIE-LCHlch(84.39, 66.58, 85.48°)
OKLaboklab(86.74% 0.0088 0.1488)
OKLCHoklch(86.74% 0.149 86.6)
XYZxyz(63.8809, 64.8252, 16.5435)
Luminance0.6482 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FECC4F #4F81FE
analogous
#FE744F #FECC4F #D9FE4F
triadic
#FECC4F #4FFECC #CC4FFE
tetradic
#FECC4F #4FFE74 #4F81FE #FE4FD9
square
#FECC4F #4FFE74 #4F81FE #FE4FD9
split-complementary
#FECC4F #4FD9FE #744FFE
monochromatic
#D19601 #FEBA12 #FECC4F #FEDE8C #FFEFC9

Accessibility & contrast

On white

1.50
#FECC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#FECC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FECC4F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FECC4F#FFFFFF#000000##000000
##FECC4F1.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB3F
Deuteranopia (green-blind)
#EFD855
Tritanopia (blue-blind)
#FFBBB2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #fecc4f;
/* rgb */ color: rgb(254, 204, 79);
/* oklch */ color: oklch(86.7% 0.149 86.6);
Tailwind
colors: {
  custom: {
    50: '#ffdb87',
    500: '#fecc4f',
    950: '#000000',
  },
}
SCSS
$custom: #fecc4f;
$custom-light: #ffdb87;
$custom-dark: #000000;
JSON
{
  "hex": "#fecc4f",
  "rgb": {
    "r": 254,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 42.857,
    "s": 98.87,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86744,
    "c": 0.14903,
    "h": 86.6
  },
  "luminance": 0.64821
}

Semantic roles & 50–950 ramp

primary
#FECC4F
secondary
#2555CC
accent
#42E600
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#19140C
muted
#87837F

Preview Lab

Preview with #FECC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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