#FEC951#FEC951

#FEC951 is a very light, vivid orange. Relative luminance 0.634; OKLCH L 86.2% C 0.146 H 84.6°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#FEC951
RGBrgb(254, 201, 81)
HSLhsl(42, 99%, 66%)
HSVhsv(42, 68%, 100%)
CMYKcmyk(0%, 20.9%, 68.1%, 0.4%)
CIE-LABlab(83.67, 6.89, 64.80)
CIE-LCHlch(83.67, 65.17, 83.93°)
OKLaboklab(86.18% 0.0138 0.1458)
OKLCHoklch(86.18% 0.146 84.6)
XYZxyz(63.2486, 63.4424, 16.6973)
Luminance0.6344 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC951 #5186FE
analogous
#FE7251 #FEC951 #DDFE51
triadic
#FEC951 #51FEC9 #C951FE
tetradic
#FEC951 #51FE72 #5186FE #FE51DD
square
#FEC951 #51FE72 #5186FE #FE51DD
split-complementary
#FEC951 #51DDFE #7251FE
monochromatic
#D39301 #FEB614 #FEC951 #FEDC8E #FFEFCB

Accessibility & contrast

On white

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

On black

13.69
#FEC951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC951
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC951#FFFFFF#000000##000000
##FEC9511.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C942
Deuteranopia (green-blind)
#EDD656
Tritanopia (blue-blind)
#FFB8B0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #fec951;
/* rgb */ color: rgb(254, 201, 81);
/* oklch */ color: oklch(86.2% 0.146 84.6);
Tailwind
colors: {
  custom: {
    50: '#ffd987',
    500: '#fec951',
    950: '#000000',
  },
}
SCSS
$custom: #fec951;
$custom-light: #ffd987;
$custom-dark: #000000;
JSON
{
  "hex": "#fec951",
  "rgb": {
    "r": 254,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 41.618,
    "s": 98.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86184,
    "c": 0.14644,
    "h": 84.6
  },
  "luminance": 0.63438
}

Semantic roles & 50–950 ramp

primary
#FEC951
secondary
#2559CE
accent
#46E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#19140C
muted
#87837F

Preview Lab

Preview with #FEC951

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

Preview Lab → · Contrast checker → · Palette generator →

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